Skip to content

Adding new ExpandJsonHeaders SMT#6

Merged
yraffin merged 5 commits intomainfrom
feat/expand-json-headers-smt
Oct 2, 2025
Merged

Adding new ExpandJsonHeaders SMT#6
yraffin merged 5 commits intomainfrom
feat/expand-json-headers-smt

Conversation

@AlexisSouquiere
Copy link
Collaborator

A Kafka Connect Single Message Transform (SMT) that takes an existing JSON header and expands each key-value pair into separate individual Kafka message headers. The original JSON header is removed after expansion.

This transform is for instance useful when working with transactional outbox patterns where you have column containing headers in a JSON map that you want to expand into individual headers

@yraffin yraffin self-requested a review September 25, 2025 16:32
@yraffin yraffin self-assigned this Sep 25, 2025
@yraffin yraffin added the enhancement The issue or PR improves a feature label Sep 25, 2025
Copy link
Collaborator

@yraffin yraffin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you might add comments as well at least on methods, it will be perfect ;-)

@AlexisSouquiere AlexisSouquiere force-pushed the feat/expand-json-headers-smt branch from cb32d8c to 0ce2665 Compare September 30, 2025 09:43
Copy link
Collaborator

@yraffin yraffin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for me

@yraffin yraffin merged commit 1fd2c1f into main Oct 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement The issue or PR improves a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants