Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Status

Current state: Under Discussion Accepted

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

Voting thread: https://lists.apache.org/thread/183p9yrstl70zg5hgt6ozgbxmlwxmg6t

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-17253

Motivation

The helper class Joined has four getter methods: gracePeriod() ,  keySerde(), valueSerde(), and otherValueSerde(), which do not belong to this 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#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 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