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

add support for NULL keys #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

burkand
Copy link

@burkand burkand commented Jul 5, 2022

Hi there

I noticed that ksnap failes when encountering a message with NULL as the key. The restriction for message-keys to have to be non-null doesn't make sense. Kafka messages without a key are perfectly fine in certain use cases and should be backed up correctly.

@alex817
Copy link
Contributor

alex817 commented Aug 20, 2022

@burkand can you add a test on having null key messages?

@burkand
Copy link
Author

burkand commented Aug 29, 2022

@alex817 i did add some checks to existing unit tests. Is that ok?

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