简体   繁体   English

wso2am将流发送到wso2das时出错

[英]wso2am Error while sending stream to wso2das

While trying to follow the instructions from the wso2am (1.10.0) manual, regarding working with statistics with the wso2das (3.0.1) server i have encountered a problem. 在尝试遵循wso2am(1.10.0)手册中的说明时,关于在wso2das(3.0.1)服务器上使用统计信息 ,我遇到了问题。

If i choose to let the wso2am server define the stream while making the first call of the api, the wso2das server refuses to post statistics to the WSO2_STATS_DB. 如果我在第一次调用api时选择让wso2am服务器定义流,则wso2das服务器将拒绝将统计信息发布到WSO2_STATS_DB。

If on the other hand i choose to import the analytics.car file in wso2das (as stated here ) i get an exception (AsyncDataPublisher Stream definition already exist) because the org.wso2.apimgt.statistics.request defined in the latest Analytics.car is different to the one being send from wso2am. 如果在另一方面,我选择要导入的wso2das的analytics.car文件(如规定在这里 )我得到一个异常(AsyncDataPublisher流定义已经存在),因为org.wso2.apimgt.statistics.request最新Analytics.car定义与从wso2am发送的消息不同。

I pinpointed the problem in the definition of the Eventstream_request_1.0 in files org.wso2.apimgt.statistics.request_1.0.0.json , throttledOutORG_WSO2_APIMGT_STATISTICS_REQUEST.xml 我在文件org.wso2.apimgt.statistics.request_1.0.0.json , throttledOutORG_WSO2_APIMGT_STATISTICS_REQUEST.xml定义中指出了问题

where the definition of the throttledOut option is missing 其中的trantedOut选项的定义丢失了

Is there a way to solve this issue? 有办法解决这个问题吗?

Thank you. 谢谢。

I think your DAS is in some kind of a corrupted state. 我认为您的DAS处于某种损坏状态。 Can you first delete the car application (/repository/deployment/server/carbonapps) and then log in to DAS and go to Manage > Event > Streams and delete any existing streams. 您可以首先删除汽车应用程序(/ repository / deployment / server / carbonapps),然后登录DAS并转到“管理”>“事件”>“流”并删除任何现有流。 Then try again to deploy the car app in the /repository/deployment/server/carbonapps location. 然后,再次尝试在/ repository / deployment / server / carbonapps位置中部署car应用。

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. 尝试执行每个脚本,看看是否有任何错误。 If not then you can point the API manager to DAS 如果没有,则可以将API管理器指向DAS

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM