- Each worker thread will have it’s own queue to store tasks/messages.
- One partition will be handled by only one thread, hence in-order processing can be done and commits can be simplified.
- ATLEAST_ONCE & ATMOST_ONCE delivery semantics can be supported.
- Once a consumer is added/removed, along with partitions, worker threads will also be re-balanced.
- On each consumer, number of worker threads can’t be greater than number of partitions in subscribed topic.
-
Notifications
You must be signed in to change notification settings - Fork 2
suyash248/kafka-playground
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Producer and multithreaded consumer
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published