Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9287

KafkaProducer011 seems to leak threads when not in exactly-once mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.4.2, 1.5.0
    • 1.5.0
    • Connectors / Kafka
    • None

    Description

      KafkaProducer011 appears to be leaking kafka-producer-network-thread threads.  As far as I can tell it happens when it is not in EXACTLY_ONCE mode, it seems that it creates a FlinkKafkaProducer but never closes it, even when the FlinkKafkaProducer011 itself is closed.

      I observed this when running a local cluster and submitting and then cancelling a job, a lot of kafka threads were left alive afterwards.

      Attachments

        Issue Links

          Activity

            People

              pnowojski Piotr Nowojski
              facboy Christopher Ng
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: