Versions Compared

Key

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

An inbound endpoint is a message entry point that can inject messages directly from the transport layer to the mediation layer, without going through the Axis engine. This section describes how you can tune the HTTP, HTTPS as well as the Kafka inbound endpoint for better performance. 

...

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     

...

  •    

...