Replies: 1 comment 1 reply
-
Hi @ppilev, For now, you can't unfortunately. I have to switch this method to Could you create a pull request, I will merge ASAP and be available in 1.5.0 release ? Many thanks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi @LGouellec
I have the following code (pseudo code below) creating
tempStream
which later is used in windowed joinsvar tempStream = stream.GroupBy.Aggregate.ToStream.To(TopicTimestampExtractor<K, V>)
here my TopicTimestampExtractor is modifying the timestamp of the record context.
I found there was submitted a pull request for this "feature" and now
recordContext.ChangeTimestamp
can be used to update records timestamp.and all this works just fine
now because I don't need the data of that
tempStream
to be published in kafka I have removed the materializationTo(TopicTimestampExtractor<K, V>)
but now the windowed joins don't work anymore.I suspect that's due to record timestamp.
I checked if I can use
Transform
method with customITransformer<>
but couldn't find how to create a new Record with custom timestamp as the Timestamp is internal property and also the constructors are internal.Any idea about how to modify the record timestamps without doing materialization?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions