mjsax commented on a change in pull request #10640:
URL: https://github.com/apache/kafka/pull/10640#discussion_r627613086



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/StreamStreamJoinNode.java
##########
@@ -98,12 +108,19 @@ public void writeToTopology(final InternalTopologyBuilder 
topologyBuilder) {
         topologyBuilder.addStateStore(thisWindowStoreBuilder, 
thisWindowedStreamProcessorName, otherProcessorName);
         topologyBuilder.addStateStore(otherWindowStoreBuilder, 
otherWindowedStreamProcessorName, thisProcessorName);
 
-        final StreamsConfig streamsConfig = topologyBuilder.getStreamsConfig();
-        if (streamsConfig == null || 
StreamsConfig.InternalConfig.getBoolean(streamsConfig.originals(), 
ENABLE_KSTREAMS_OUTER_JOIN_SPURIOUS_RESULTS_FIX, true)) {
+        if (props == null || 
StreamsConfig.InternalConfig.getBoolean(toMap(props), 
ENABLE_KSTREAMS_OUTER_JOIN_SPURIOUS_RESULTS_FIX, true)) {

Review comment:
       Instead of using `toMap`, can't we just to `new 
HashMap<String,String>(props)`




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to