||
Skip to end of metadata
Go to start of metadata

 Publisher Tuning With Configuration

Add the <BAM_HOME>/repository/conf/data-bridge/thrift-agent-config.xml file to any Carbon server, and configure fine tuning parameters for the data agent globally.

The default configuration file is as follows.

Maven repository
<thriftAgentConfiguration>
    <bufferedEventsSize>20000</bufferedEventsSize>
    <poolSize>50</poolSize>
    <maxPoolSize>50</maxPoolSize>
    <maxTransportPoolSize>250</maxTransportPoolSize>
    <maxIdleConnections>250</maxIdleConnections>
    <evictionTimePeriod>5500</evictionTimePeriod>
    <minIdleTimeInPool>5000</minIdleTimeInPool>
    <secureMaxTransportPoolSize>250</secureMaxTransportPoolSize>
    <secureMaxIdleConnections>250</secureMaxIdleConnections>
    <secureEvictionTimePeriod>5500</secureEvictionTimePeriod>
    <secureMinIdleTimeInPool>5000</secureMinIdleTimeInPool>
    <maxMessageBundleSize>100</maxMessageBundleSize>
    <asyncDataPublisherBufferedEventSize>10000</asyncDataPublisherBufferedEventSize>
    <loadBalancingReconnectionInterval>30</loadBalancingReconnectionInterval>
    <reliablePublishing>true</reliablePublishing>
</thriftAgentConfiguration>

 

Each field represents some parameters that are used for fine tuning the Data Agent as follows. 

 

FieldMeaning
bufferedEventsSize
 
poolSize
 
maxPoolSize
 
maxTransportPoolSize
 
maxIdleConnections
 
evictionTimePeriod
 
minIdleTimeInPool
 
secureMaxTransportPoolSize
 
secureMaxIdleConnections
 
secureEvictionTimePeriod
 
secureMinIdleTimeInPool
 
maxMessageBundleSize
 
asyncDataPublisherBufferedEventSize
 
loadBalancingReconnectionInterval
 
reliablePublishing
 
  • No labels