mjsax commented on code in PR #22165:
URL: https://github.com/apache/kafka/pull/22165#discussion_r3626759807


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/InMemoryTimeOrderedKeyValueChangeBuffer.java:
##########
@@ -203,6 +222,10 @@ public void init(final StateStoreContext 
stateStoreContext, final StateStore roo
         taskId = context.taskId().toString();
         streamsMetrics = context.metrics();
 
+        final Object dslStoreFormat = 
stateStoreContext.appConfigs().get(StreamsConfig.DSL_STORE_FORMAT_CONFIG);

Review Comment:
   Is it sufficient/correct to check the config? Should we rather consult the 
upstream `KTable` store if it has headers enabled or not, and align the 
suppress buffer accordingly? A user might not set the config, but enable 
headers via `Materialized` upstream?
   
   We might also want to to a follow up KIP, to extend `suppress()` by itself 
to have an operator based on/off switch? Of course, out-of-scope for this PR.
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to