Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route_to_stream pipeline function should throw error when message would be silently dropped #21106

Open
waab76 opened this issue Dec 3, 2024 · 0 comments
Labels

Comments

@waab76
Copy link
Contributor

waab76 commented Dec 3, 2024

Expected Behavior

When route_to_stream is called for a paused stream and the remove_from_default argument is set, an exception should be raised to indicate that processing has failed.

Current Behavior

When route_to_stream is called for a paused stream and the remove_from_default argument is set, the message will not be added to the target stream and it will be removed from the default stream, resulting in the message being silently lost.

Possible Solution

Update route_to_stream logic to raise an error instead of silently dropping messages from all streams.

@waab76 waab76 added the bug label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant