KAFKA-8523 Enabling InsertField transform to be used with tombstone events#6914
KAFKA-8523 Enabling InsertField transform to be used with tombstone events#6914rhauch merged 2 commits intoapache:trunkfrom
Conversation
0250049 to
cd2626b
Compare
|
Hey @rhauch, a minor fix to the |
|
So, does an insert config on a tombstone <k,null> will still produce a <k, null> (hence ignored), or will it produce a <k, v> where v contains only the inserted fields. If it does not propagate the null value, I am concerned it will skew the elasticsearch connector config |
rhauch
left a comment
There was a problem hiding this comment.
Thanks, @gunnarmorling! This looks great, but I have two minor suggestions.
|
before merging this PR, can we discuss the impact of applying transformation on null values? I strongly believe we should rather propagate the null values untouched even when transformations are configured. |
rhauch
left a comment
There was a problem hiding this comment.
@ftardif, please see the discussion on https://issues.apache.org/jira/browse/KAFKA-8523. I think @gunnarmorling, you, and I all agree that this PR should be changed to pass through and not modify tombstone records.
This PR has not yet been approved, but just to be safe I've marked this PR as Request changes.
|
@gunnarmorling are you planning to provide an adjusted PR soon in order to start testing this functionality? |
|
Yes, I'll try and send something in the course of the week. Thanks for the
reminder!
… |
cd2626b to
f430dc1
Compare
f430dc1 to
c327e31
Compare
|
thanks @gunnarmorling . What are the next steps to get that PR merged? |
|
Good question; I suppose approval by @rhauch or any other committer should do the trick. |
rhauch
left a comment
There was a problem hiding this comment.
LGTM. Thanks, @gunnarmorling!
I plan to merge shortly.
|
Excellent! To be sure, would that release be 2.4? Is there a way to learn
about the timelines for code freezes for future reference? Thanks again!
… |
|
@gunnarmorling yes, I hope to get this into the AK 2.4.0 release. For information about release plans, checkout the dev list email thread with subject |
…vents (#6914) * KAFKA-8523 Avoiding raw type usage * KAFKA-8523 Gracefully handling tombstone events in InsertField SMT
…vents (#6914) * KAFKA-8523 Avoiding raw type usage * KAFKA-8523 Gracefully handling tombstone events in InsertField SMT
…vents (#6914) * KAFKA-8523 Avoiding raw type usage * KAFKA-8523 Gracefully handling tombstone events in InsertField SMT
…vents (#6914) * KAFKA-8523 Avoiding raw type usage * KAFKA-8523 Gracefully handling tombstone events in InsertField SMT
…vents (#6914) * KAFKA-8523 Avoiding raw type usage * KAFKA-8523 Gracefully handling tombstone events in InsertField SMT
…vents (#6914) * KAFKA-8523 Avoiding raw type usage * KAFKA-8523 Gracefully handling tombstone events in InsertField SMT
|
Merged back as far back as the 1.0 branch. See https://issues.apache.org/jira/browse/KAFKA-8523 for details. |
|
Excellent; thanks for merging and backporting, Randall!
… |

Fixes https://issues.apache.org/jira/browse/KAFKA-8523
Committer Checklist (excluded from commit message)