Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16149

Aggressively expire unused client connections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • clients, consumer, producer
    • None

    Description

      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:

      1. Connections for metadata requests
      2. 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.

       

      Attachments

        Activity

          People

            kirktrue Kirk True
            kirktrue Kirk True
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: