Status

Current state: Under Discussion

Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]

JIRA: here 

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:

These Apis will no longer be publicly accessible in the future.

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