Thanks to visit codestin.com
Credit goes to github.com

Skip to content

suyash248/kafka-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-playground: Producer and multithreaded consumer

alt text

Notes -

  • 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.

About

Producer and multithreaded consumer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages