Kirk True created KAFKA-16149:
---------------------------------

             Summary: Aggressively expire unused client connections
                 Key: KAFKA-16149
                 URL: https://issues.apache.org/jira/browse/KAFKA-16149
             Project: Kafka
          Issue Type: Improvement
          Components: clients, consumer, producer 
            Reporter: Kirk True
            Assignee: Kirk True


The goal is to minimize the number of connections from the client to the 
brokers.

On the Java client, there are potentially two types of network connections to 
brokers:
 # Connections for metadata requests
 # Connections for fetch, produce, etc. requests

The idea is to apply a much shorter idle time to client connections that have 
_only_ served metadata (type 1 above) so that they become candidates for 
expiration more quickly.

Alternatively (or additionally), a change to the way metadata requests are 
routed could be made to reduce the number of connections.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to