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
When the connection with rabbitmq is broken and the service attempts to push messages to it, it retries the publish a couple of times and then drops the message and moves on to the next message.
The expected behaviour is that it should raise an exception and the message offset should not be commited to kafka.
The text was updated successfully, but these errors were encountered:
When the connection with RabbitMQ is broken while the service is running, Ziggurat does not exit, it keeps on processing messages. Publish to RabbitMQ ziggurat.producer/publish retries publishing 5 times, but if it is still failing, it just reports the issue to sentry and returns.
Since it returns without an exception, streams commits the message and moves on to the next message, thus causing the message loss.
Proposed Solution:
In ziggurat.producer/publish, if the publishing fails even after the retry, we'll stop the streams, so that no new messages are commited or read from kafka.
The streams can be restarted manually by restarting the service (or we could provide an API for restarting the streams).
When the connection with rabbitmq is broken and the service attempts to push messages to it, it retries the publish a couple of times and then drops the message and moves on to the next message.
The expected behaviour is that it should raise an exception and the message offset should not be commited to kafka.
The text was updated successfully, but these errors were encountered: