Hi All,

I am working on https://wso2.org/jira/browse/APIMANAGER-2064.

By looking at the Cassandra database on BAM, I could figure out some
requests publish to Cassandra database and some do not when I invoke the
api. That is the reason for the missing requests in statistics dashboard.

I tried debugging the APIMgtUsageDataBridgeDataPublisher class since it has
publishEvent method to publish data. APIMgtUsageDataBridgeDataPublisher
class uses LoadBalancingDataPublisher as the dataPublisher in this case.

I found that every time when I invoke the api via rest client, this method
will execute. but randomly some requests are not publishing in Cassandra
database. I used the latest org.wso2.carbon.databridge.agent.thrift jar.
but the problem is still there.

if requests come to publishEvent method, should they publish in Cassandra
database?and is there any known reason for data get not published in
cassendra database. if not where I can find the data publisher to cassendra
in BAM from API Manager.

Thanks
-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to