Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Fix PulsarEntryFormatter not handle null value correctly #305

Merged

Conversation

BewareMyPower
Copy link
Collaborator

Fixes #299

PulsarEntryFormatter doesn't handle null value correctly now. If a message with null value was sent by a producer, the consumer will receive a message with an empty string.

This PR fixes the bug and adds to tests to verify KoP could handle the null value no matter what the entry format is.

@jiazhai jiazhai merged commit 9b70a69 into streamnative:master Jan 7, 2021
@BewareMyPower BewareMyPower deleted the bewaremypower/fix-null-value branch January 10, 2021 14:28
BewareMyPower added a commit that referenced this pull request Jan 14, 2021
Fixes #299

PulsarEntryFormatter doesn't handle null value correctly now. If a message with null value was sent by a producer, the consumer will receive a message with an empty string.

This PR fixes the bug and adds to tests to verify KoP could handle the null value no matter what the entry format is.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] EntryFormatter encode/decode error for Kafka Streams
2 participants