Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Status

Current state:  Under DiscussionDiscussion thread: here Accepted

Discussion thread: [DISCUSS] KIP-281: ConsumerPerformance: Increase Polling Loop Timeout and Make It Reachable by the End User

Vote thread: [VOTE] KIP-281: ConsumerPerformance: Increase Polling Loop Timeout and Make It Reachable by the End User

Vote results: 

  • Binding +4: Jason Gustafson, Ismael Juma, Rajini Sivaram and Guozhang Wang
  • Non-binding +4: Ted Yu, Moshe Blumberg, Alex Dunayevsky, and Dhruvil Shah
  • No -1 votes.

JIRA

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-6743

...

Providing the command line tool kafka-consumer-perf-test.sh with an optional --polling-loop-timeout parameter: 

parameter namedefaults totypetime unitusage
--polling-loop-timeout6000010000Longmsoptional

Proposed Changes

  • Increasing polling loop timeout in ConsumerPerformance implementation up to 60 10 000 ms 
  • Making polling loop timeout reachable and modifiable by the end user from the command line kafka-consumer-perf-test tool
  • If Print a warning message if the polling loop timeout is exceeded, print a warning message

Proposed changes in code available in this PR: https://github.com/apache/kafka/pull/4818

...

  • Positive impact on existing users since the utility generates more accurate results 
  • The proposed parameter is optional, will not break anything

Rejected Alternatives

..None.