Bird
0
0

You have a Kafka consumer configured with max.poll.records=100 and max.poll.interval.ms=300000. What is the effect of increasing max.poll.interval.ms?

hard📝 Application Q9 of 15
Kafka - Consumers

You have a Kafka consumer configured with max.poll.records=100 and max.poll.interval.ms=300000. What is the effect of increasing max.poll.interval.ms?

AAllows more time between poll calls before consumer is considered dead
BLimits the number of records fetched per poll
CChanges the offset commit interval
DSets the session timeout for broker connection
Step-by-Step Solution
Solution:
  1. Step 1: Understand max.poll.interval.ms

    This setting defines the max time allowed between poll calls before the consumer is considered unresponsive.
  2. Step 2: Effect of increasing the interval

    Increasing it allows the consumer more time to process messages before needing to poll again.
  3. Final Answer:

    Allows more time between poll calls before consumer is considered dead -> Option A
  4. Quick Check:

    max.poll.interval.ms controls max time between polls [OK]
Quick Trick: max.poll.interval.ms sets max time between polls [OK]
Common Mistakes:
  • Confusing it with max.poll.records
  • Thinking it affects commit interval
  • Mixing it with session timeout

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes