...
It's pretty common to have several listeners defined on Kafka brokers. Each listener has its own pool of network threads. In many cases some listeners handle a lot less traffic than others and typically don't need the same number of threads. This KIP proposes optionally setting the sizes of these pool individually using per listener configurations. This will allow fine tuning the number of threads to dynamically accommodate traffic spikes or slightly reduce memory usage when using listeners with different usages.
Public Interfaces
The existing configuration "num.network.threads" will be updated to also support being set on specific listener via the "listener.name.<NAME>" notation.
For example, a valid configuration could be:
...