Skip to content

Conversation

l4mby
Copy link
Contributor

@l4mby l4mby commented Aug 22, 2024

When the consumer is closed we should stop handling the incoming messages in the stream.
This beahviour has been seen on the offset tracking example of rabbitmq nodejs stream tutorials here, with two sends in sequence, the consumer would read the queue until the end, instead of closing at the first marker found.

@l4mby l4mby requested review from gpad, icappello and tarzacodes August 22, 2024 15:23
@l4mby l4mby changed the title feat: ignore local offset update if consumer closed feat: block message handler execution if consumer is closed Aug 22, 2024
@l4mby l4mby merged commit d002135 into main Aug 26, 2024
@l4mby l4mby deleted the message-handling-on-consumer-close branch August 26, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants