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

Please add an option to skip invalid metadata instead of shutdown the consumer #303

Open
zhengcan opened this issue Dec 27, 2023 · 0 comments

Comments

@zhengcan
Copy link

Some producer may write metadata with invalid UTF-8 characters.
It will lead the fn Codec::decode() return Err, and the consumer will shutdown and reboot immediately.
Because the invalid message is not acked, so it will cause the whole app unusable.

Currently, I have to hack the src/consumer/message.rx to ignore the invalid metadata to allow my app working as normal.
Please consider to add an option to skip the invalid metadata.

BTW: the producer is out of my control, it may or may not changed.

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

No branches or pull requests

1 participant