Skip to content

[Stream] SAC Active and Waiting Comumers both must be able to listen event. #11184

Closed Answered by acogoluegnes
laststem asked this question in Ideas
Discussion options

You must be logged in to vote

In a single active consumer group, a consumer is considered inactive by default, until it receives a notification that it is active. Then an active consumer can receive a notification that it becomes inactive.

A consumer gets to decide where to start consuming from when it becomes active: it responds to the notification with an offset specification and the broker will use it to initialize the message flow at the appropriate location in the stream. It can get the offset notification from any data source (RabbitMQ with server-side offset tracking or a custom database).

An active consumer has a chance to store the last offset it processed when it gets a notification that it becomes inactive.…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@laststem
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by acogoluegnes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants