Back View in GitHub Download
Share
10/4/2024, 3:44:23 PM

Consume

[!NOTE]

not done

A reason for using Kafka is the rate of producer exceed the rate of consumer, you want some buffer in the middle to avoid overflowing the consumer.

1 Consumer Group 4 Partitions2 Consumer Group 4 Partitions
image-20240923164325453image-20240923164411915
4 Consumer Group 4 Partitions5 Consumer Group 4 Partitions
image-20240923164424201image-20240923164446993
Multiple Consumer Groups
image-20240923164849123
  • We cant implement fan-out pattern using one consumer group, we need to create multiple of them
  • No point adding more consumers than producers, some consumers will be idle.

Comments