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

Enable idle expiry of connections which are never selected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.2.2, 0.11.0.3, 1.0.2, 1.1.1, 2.0.0
    • 1.1.2, 2.0.1, 2.1.0
    • network
    • None

    Description

      We add connections to Selector#channels when a connection is registered, but we start idle expiry of connections only when the connection is first selected. In some environments where the channel may never get selected, this could leak memory and sockets.

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              rsivaram Rajini Sivaram
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: