WSO2 DAS 服务器配置问题 - 丢弃为 -1234 发送的格式错误的事件 [英] WSO2 DAS server configuration issue - Dropping wrongly formatted event sent for -1234

查看:9
本文介绍了WSO2 DAS 服务器配置问题 - 丢弃为 -1234 发送的格式错误的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have configured DAS with API manager server using REST client, but not able to push data to DAS server. Please see error logs in DAS server. Could you please help me to understand what is wring in configuration?

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

推荐答案

你可以尝试重新部署汽车应用程序.为此,请先执行以下操作

Can you try redeploying the car app again. For that first do following

  1. 从/repository/deployment/server/carbonapps 中删除 .car 应用程序
  2. 通过登录 DAS 管理控制台并转到 Manage > 删除任何现有的流定义(与 APIM 统计信息相关)事件>流
  3. 重新部署汽车应用,将其放入/repository/deployment/server/carbonapps

如果一切顺利,您会在 Manage > 中看到两个脚本.批量分析 >脚本部分.尝试执行每个脚本,看看是否有错误.

If everything goes well you would see two scripts in Manage > Batch Analytics > Scripts section. Try to execute each script and see if there is any error.

这篇关于WSO2 DAS 服务器配置问题 - 丢弃为 -1234 发送的格式错误的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆