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

Improve expired poll interval logging by showing exceeded time

    XMLWordPrintableJSON

Details

    Description

      When a consumer poll iteration takes longer than the max.poll.interval, the consumer logs a warn suggesting that the max.poll.interval config was exceeded, and pro-actively leaves the group. The log suggests to consider adjusting the max.poll.interval.config which should help in the cases of long processing times. We should consider adding the info of how much time the interval was exceeded, since it could be helpful in guiding the user to effectively adjust the config. This is done in other clients, that log this kind of messages in this situation:

      Application maximum poll interval (300000ms) exceeded by 255ms (adjust max.poll.interval.ms for long-running message processing): leaving group

      Attachments

        Issue Links

          Activity

            People

              lianetm Lianet Magrans
              lianetm Lianet Magrans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: