Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Improving the performance of Kafka inbound

WSO2 ESB EI kafka inbound endpoint acts as a message consumer. It creates a connection to zookeeper and requests messages for a topic, topics or topic filters.

...

  •  Set the sequential parameter to false to use the Kafka inbound in a non-sequential mode as it allows better performance than the sequential mode.

    Code Block
    languagexml
    <parameter name="sequential">false</parameter>
  • Change the inbound thread pool size based on your use case. Recommended values are specified below. These parameters can be configured in the <ESB<EI_HOME>/repository/conf/synapse.properties file.

    Code Block
    languagexml
    inbound.threads.core = 200 
    inbound.threads.max = 1000  1000     

...

  •    

...