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

The consumer is not closed in GetOffsetShell, will exhausted socket channel when frequent calls

    XMLWordPrintableJSON

Details

    • Patch

    Description

      When use command "bin/kafka-run-class.sh kafka.tools.GetOffsetShell --topic test --time -2 --broker-list 127.0.0.1:9092 --partitions 1" frequently, or use code call kafka.tools.GetOffsetShell method more then socket limit. It will show us  "Too many open files" error.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ouyangwuli ouyangwulin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: