AyoubOm opened a new pull request, #22820: URL: https://github.com/apache/kafka/pull/22820
### Summary This is a first PR for adding deduplication operator to Streams DSL. See this global PR draft for reference https://github.com/apache/kafka/pull/22189 This PR adds the _TimestampAndOffset_ class which will be used as a the value type of the deduplication store. The store keeps track of the records seen so far, and will be used by the processor to deduplicate records. See [wiki](https://cwiki.apache.org/confluence/display/KAFKA/KIP-655%3A+Windowed+Distinct+Operation+for+Kafka+Streams+API) and [mail thread discussion](https://lists.apache.org/thread/8qd0mopvromwr3y0wvw9v3kzf9vkb5z0) for the reason we need the timestamp and offset. In brief: - Deduplication is bounded in time and the store doesn't keep records forever - old records should be evicted from the store => Hence _Timestamp_ - Records may be processed twice in case of a failure - we need to track records that have been saved in the store and still not committed => Hence _Offset_ ### JIRA [KAFKA-10369](https://issues.apache.org/jira/browse/KAFKA-10369) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
