You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I want to read from two group of topics A and B, such that if there is any data on A, I want to continue to read from only group A until there is no data from A on a poll, then read some messages from B.
Which implementation is more efficient out of:
Have two consumers, then batch consume k messages from consumer A, then consume 0 or k messages from consumer B (to avoid max poll timeouts on consumer B)
Have a single consumer, and then alternately pause and resume topic groups A and B as per the requirements.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
If I want to read from two group of topics A and B, such that if there is any data on A, I want to continue to read from only group A until there is no data from A on a poll, then read some messages from B.
Which implementation is more efficient out of:
Thanks for your help in advance!
Keith
Beta Was this translation helpful? Give feedback.
All reactions