For some reason, I have to use one consumer for two topics. Now the questions I have are:
- What is the reasoning behind we don't have a way to specify which topic we want to poll?
- Will a single pull/consume return messages from different topics?
- Assume each topic have enough messages for multiple poll requests, will each poll call return messages from different topics in round robin fashion?
- If the traffic of the two topics are strongly unbalanced, will the poll topic with more messages gets more attention wrt the poll request.
Every Kafka resource seems to tell me one consumer can subscribe to more than one topics but surprisingly, I can not find useful information which will answer the above questions.