Table of Contents |
---|
This page is meant as a template for writing a KIP. To create a KIP choose Tools->Copy on this page and modify with your content and replace the heading with the next KIP number and a description of your issue. Replace anything in italics with your own description.
Status
Current state: "Under DiscussionAccepted"
Discussion thread: here
Github PR: here
Jira: Jira server ASF JIRA serverId 5aa69414-a9e9-3523-82ec-879b028fb15b key KAFKA-7396
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Motivation
...
We want to make sure that we always have a serde for all Materialized, Serialized, Joined, Consumed and Produced.
For that we can make use of the implicit parameters in Scala.
Public Interfaces
Add of the following:
should be:
...
org.apache.kafka.streams.scala.kstream.Materialized
org.apache.kafka.streams.scala.kstream.Serialized
org.apache.kafka.streams.scala.kstream.Joined
org.apache.kafka.streams.scala.kstream.KStream.process.Consumed
org.apache.kafka.streams.scala.kstream.Produced
Proposed Changes
def process(processorSupplier: => Processor[K, V], stateStoreNames: String*)Add of helper functions to create Materialized, Serialized, Joined, Consumed and Produced with serdes implicitly given so that we are sure to not miss any.
Compatibility, Deprecation, and Migration Plan
Overload and deprecate, then remove the deprecated.
Rejected Alternatives
NA