Skip to content

Handle Kafka tombstone records in topic assertions #564 - #901

Open
AzazelSensei wants to merge 2 commits into
Decathlon:mainfrom
AzazelSensei:fix-564-kafka-tombstone
Open

AzazelSensei wants to merge 2 commits into
Decathlon:mainfrom
AzazelSensei:fix-564-kafka-tombstone

Conversation

@AzazelSensei

Copy link
Copy Markdown

the topic contains NPEd on a null record value, so you could not assert a tombstone.

I map a null payload as null instead of calling toString(), and value: null on publish now sends a real tombstone. Added a json scenario that publishes one and asserts it.

Fixes #564

Null-value records no longer NPE in the_topic_contains. Publishing
value: null now sends a real tombstone instead of the JSON string null.
@CLAassistant

CLAassistant commented Sep 4, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jak78dkt

jak78dkt commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

@AzazelSensei thanks for your first contribution! Awesome! Could you please sign the CLA so that we can merge your work and make it available in the next version of Tzatziki? Thanks

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.

Can't test tombstone event NullPointerException

3 participants