Github user Thanu commented on a diff in the pull request:
https://github.com/apache/stratos/pull/493#discussion_r45601710
--- Diff:
components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/statistics/publisher/DASMemberStatusPublisher.java
---
@@ -38,14 +38,27 @@
public class DASMemberStatusPublisher extends ThriftStatisticsPublisher
implements MemberStatusPublisher {
private static final Log log =
LogFactory.getLog(DASMemberStatusPublisher.class);
+ private static volatile DASMemberStatusPublisher
dasMemberStatusPublisher;
private static final String DATA_STREAM_NAME = "member_lifecycle";
private static final String VERSION = "1.0.0";
private static final String DAS_THRIFT_CLIENT_NAME = "das";
+ private static final int STATS_PUBLISHER_THREAD_POOL_SIZE = 10;
--- End diff --
I have separate STATS_PUBLISHER_THREAD_POOL_SIZE config for
DASMemberStatusPublisher and DASMemberInformationPublisher to configure the
value individually because first one is publishing 6 events while later is
publishing 1 event per member.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---