This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Does having single broker in Kafka mean when one consumer is consuming others have to wait ?

 
Ranch Hand
Posts: 2969
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Kafka, one can have more broker and that can form a Kafka cluster.Does having single broker for Kafka mean when one consumer is consuming others have to wait ? Thanks
 
Bartender
Posts: 2453
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One broker can have one topic. Multiple consumers can consume the same topic at the same time.
One topic can have multiple partitions. So, for example, if we have 3 partitions and 2 consumers. Consumer 1 can read partition 0 and 1. Consumer 2 can read partition 2.
Both consumers can read the different partitions of the same topic at the same time.
 
Monica Shiralkar
Ranch Hand
Posts: 2969
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. So, understood that multiple consumers can consume from different partitions of the same topic as partitions is what parallelism depends on.
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic