Skip to content

Consume from different partitions in parallel #275

Answered by filipeesch
sfiodorov asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sfiodorov, the Confluent driver that controls how the messages will be read from the topic/partition. In a development environment, some strange behaviors can happen, like yours. In a production environment, the "things" happen differently, you have many producers, many application instances, more partitions, and messages begin produced in different partitions at the same time. I think this problem will not happen. Putting the consumer with two workers, KafkaFlow will process two messages at the same time, even if the topic has just one partition.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sfiodorov
Comment options

You must be logged in to vote
1 reply
@filipeesch
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants