Bird
0
0

Why might a punctuator scheduled with STREAM_TIME not trigger even if the system clock advances?

hard📝 Conceptual Q10 of 15
Kafka - Advanced Stream Processing
Why might a punctuator scheduled with STREAM_TIME not trigger even if the system clock advances?
ABecause the system clock must be synchronized with Kafka brokers.
BBecause STREAM_TIME depends on record timestamps, not system clock time.
CBecause punctuators only trigger on WALL_CLOCK_TIME by default.
DBecause the punctuator callback must be registered after stream start.
Step-by-Step Solution
Solution:
  1. Step 1: Understand difference between STREAM_TIME and WALL_CLOCK_TIME

    STREAM_TIME triggers depend on the event time from record timestamps, not the system clock.
  2. Step 2: Explain why system clock changes don't affect STREAM_TIME

    Even if system clock advances, STREAM_TIME punctuators wait for new records with advancing timestamps.
  3. Final Answer:

    Because STREAM_TIME depends on record timestamps, not system clock time. -> Option B
  4. Quick Check:

    STREAM_TIME = record timestamps, not system clock [OK]
Quick Trick: STREAM_TIME triggers only on advancing record timestamps [OK]
Common Mistakes:
MISTAKES
  • Confusing system clock with stream time
  • Assuming default punctuator type is WALL_CLOCK_TIME
  • Thinking callback registration timing affects triggers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes