2

我已经使用 REST 客户端配置了带有 API 管理器服务器的 DAS,但无法将数据推送到 DAS 服务器。请查看 DAS 服务器中的错误日志。你能帮我理解配置中的问题吗?

TID: [-1234] [] [2016-05-20 18:07:05,566] ERROR {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} -  Dropping wrongly formatted event sent for -1234 {org.wso2.carbon.databridge.core.internal.queue.QueueWorker}
org.wso2.carbon.databridge.core.exception.EventConversionException: Error when converting org.wso2.apimgt.statistics.throttle:1.0.0 of event bundle with events 1
        at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:181)
        at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.toEventList(ThriftEventConverter.java:90)
        at org.wso2.carbon.databridge.core.internal.queue.QueueWorker.run(QueueWorker.java:73)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: org.wso2.carbon.databridge.core.exception.EventConversionException: No StreamDefinition for streamId org.wso2.apimgt.statistics.throttle:1.0.0 present in cache
        at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:166)
        ... 7 more
4

1 回答 1

0

您能否再次尝试重新部署汽车应用程序。首先做以下

  1. 从 /repository/deployment/server/carbonapps 中删除 .car 应用程序
  2. 通过登录 DAS 管理控制台并转到Manage > Event > Streams
  3. 通过将其放入 /repository/deployment/server/carbonapps 重新部署汽车应用程序

如果一切顺利,您将在Manage > Batch Analytics > Scripts部分中看到两个脚本。尝试执行每个脚本,看看是否有任何错误。

于 2016-05-22T14:18:22.180 回答