Status
Current state: Accepted
Discussion thread: here
Voting thread: https://lists.apache.org/thread/183p9yrstl70zg5hgt6ozgbxmlwxmg6t
JIRA: - KAFKA-17253Getting issue details... STATUS
Motivation
The helper class Joined
has four getter methods: gracePeriod()
, keySerde()
, valueSerde()
, and otherValueSerde()
, which do not belong to this class.
Currently they're only used in KStreamImpl
which is a internal class.
We should deprecate them for future removal, as all four methods are already available via JoinedInteral
, where they belong.
Public Interfaces
org.apache.kafka.streams.kstream.Joined#gracePeriod
org.apache.kafka.streams.kstream.Joined#keySerde
org.apache.kafka.streams.kstream.Joined#valueSerde
org.apache.kafka.streams.kstream.Joined#otherValueSerde
Proposed Changes
We proposed to deprecate the following methods:
org.apache.kafka.streams.kstream.Joined#gracePeriod
org.apache.kafka.streams.kstream.Joined#keySerde
org.apache.kafka.streams.kstream.Joined#valueSerde
org.apache.kafka.streams.kstream.Joined#otherValueSerde
These APIs will no longer be publicly accessible in the future. For the gracePeriod
method, we will add a corresponding method in the JoinedInternal
class.
Compatibility, Deprecation, and Migration Plan
None.
We only deprecate these methods and will remove them in a major release.
Test Plan
N/A
Rejected Alternatives
N/A