Details
Description
In StreamsKafkaClient we use an NetworkClient internally and call poll using StreamsConfig.POLL_MS_CONFIG as timeout.
However, StreamsConfig.POLL_MS_CONFIG is solely meant to be applied to KafkaConsumer.poll() and it's incorrect to use it for the NetworkClient. If the config is increased, this can lead to a infinite rebalance and rebalance on the client side is increased and thus, the client is not able to meet broker enforced timeouts anymore.