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
We're interested in adding support for this feature that already exists in the Java client. I have quickly looked at the code and most of the logic to handle active/inactive events is already in place. What remains to be implemented is surfacing the event to the user.
First, I have one question:
Is there any guarantee that when a consumer becomes active for a topic, it always receives a CommandActiveConsumerChange before the first message?
I see a few options regarding the public API:
Add a new method at the consumer level that returns a stream of events. The user is in charge of polling both futures.
We're interested in adding support for this feature that already exists in the Java client. I have quickly looked at the code and most of the logic to handle active/inactive events is already in place. What remains to be implemented is surfacing the event to the user.
First, I have one question:
Is there any guarantee that when a consumer becomes active for a topic, it always receives a
CommandActiveConsumerChange
before the first message?I see a few options regarding the public API:
The latter is, IMHO, easier to consume for the end user.
Regarding the implementation strategy, we can reuse the main message channel with an enum, or handle events in a separate channel.
Thoughts?
The text was updated successfully, but these errors were encountered: