Hello!
I'm working with Kafka to send messages from one microservice to another.
And I have a problem. It completely stops my work.
I have a couple of topics with a few partitions. I want to round-robin read
from each topic. I mean to take one message from a topic and go to the
next. But I can't understand how to code this.
Is it possible at all? Could you advise me on how to do it?
P.S. In my case consumer reads all messages in a topic and goes to the next.
Best regards,
Andrew Rakov
I'm working with Kafka to send messages from one microservice to another.
And I have a problem. It completely stops my work.
I have a couple of topics with a few partitions. I want to round-robin read
from each topic. I mean to take one message from a topic and go to the
next. But I can't understand how to code this.
Is it possible at all? Could you advise me on how to do it?
P.S. In my case consumer reads all messages in a topic and goes to the next.
Best regards,
Andrew Rakov
Comments
Post a Comment