Status
Current state: Under Discussion
Discussion thread: here
JIRA:
-
KAFKA-9126Getting issue details...
STATUS
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Motivation
KIP-479, implemented in Kafka 2.4.0, added StreamJoined
to Kafka Streams as a way to extend features of Materialized
to stream-stream joins. During the KIP discussion, adding the option to disable logging was but not implemented through KIP-479. Adding this feature allows users more flexibility over their store and fits with the original goal of extending Materialized
features to stream-stream joins.
Public Interfaces
This KIP will add the following two methods as well as a loggingEnabled
variable.
public StreamJoined<K, V1, V2> withLoggingEnabled() {} public StreamJoined<K, V1, V2> withLoggingDisabled() {}
Proposed Changes
We will add two new methods to StreamJoined
to allow users to determine whether they want logging for their stores. This config sets the logging decision for both stores, meaning that if logging is disabled for thisWindowStore
, it will also be disabled for otherWindowStore
. The default value for loggingEnabled
will be true
, enabling logging for both stores if the user does not set the values manually.
Compatibility, Deprecation, and Migration Plan
As this is not deprecating or changing default behavior there should be no compatibility issues