Prefetch & Consumer Distribution

Prefetch & Consumer Distribution

Try Change Prefetch count from 1 to 50 with varying consumer processing speeds.
Observe Watch Fairness Index and messages per consumer as Prefetch count changes from 1.
Explain Explain why prefetch=1 affects fairness when consumers have varying processing speeds.

Technical boundaries. Messages are dispatched in rounds, with processing determined by the selected speed profile. Fairness compares minimum and maximum consumer message loads; rounds stop when all messages are dispatched.

Adjust the prefetch count and number of consumers to see how messages are distributed. Observe how different prefetch values affect fairness and throughput when consumers have varying processing speeds.

Back to the chapter