Grokking Kafka and Event-Driven Architecture
0% completed
Share Groups
A document service converts uploaded files to PDF. Each upload publishes a ConvertToPdf job to the conversion-jobs topic, which has 2 partitions. Most jobs take a few seconds, but a large scanned contract can take 40 seconds. The team runs 4 conversion workers.
Under a consumer group, only 2 of those 4 workers receive any jobs, because each partition belongs to one member. When a 40-second contract reaches the front of a partition, every job behind it in that partition waits 40 seconds, even while 2 workers sit idle
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%