Versions Compared

Key

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

Table of Contents


Status

Current state"Under Discussion"

Discussion thread: here

Github PR: here

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[KV], stateStoreNamesString*)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