Hi All, While doing a performance test using a data publisher client, it was realized that it's important to check the returned value of tryPublish API and if it is false (i.e. if the event wasn't sent) Clients' should slow down a bit (use a sleep or similar) to avoid spinning the CPU.
Please note this especially when you write a data publisher client to do a migration, a performance test etc. We need to add a note in https://docs.wso2.com/pages/viewpage.action?pageId=48288495#PublishingDataUsingJavaClientThroughThrift/Binary-Datapublishersample too IMO. -- Thanks & regards, Nirmal Team Lead - WSO2 Machine Learner Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev