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

Consider using defaultApiTimeoutMs in AsyncKafkaConsumer#unsubscribe

    XMLWordPrintableJSON

Details

    Description

      This is followup from https://github.com/apache/kafka/pull/16673#discussion_r1717009724

      AsyncKafkaConsumer#unsubscribe uses Long.MAX_VALUE to calculate deadline. However, most of AsyncKafkaConsumer operations use default.api.timeout.ms if users don't specify a timeout. In design document, it also mentions that using default.api.timeout.ms as default timeout.

      Attachments

        Issue Links

          Activity

            People

              yangpoan PoAn Yang
              yangpoan PoAn Yang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: