loicgreffier commented on code in PR #16093:
URL: https://github.com/apache/kafka/pull/16093#discussion_r1692256734


##########
streams/src/main/java/org/apache/kafka/streams/TopologyConfig.java:
##########
@@ -151,6 +154,7 @@ public TopologyConfig(final String topologyName, final 
StreamsConfig globalAppCo
 
         this.applicationConfigs = globalAppConfigs;
         this.topologyOverrides = topologyOverrides;
+        this.processingExceptionHandlerSupplier = () -> 
globalAppConfigs.getConfiguredInstance(PROCESSING_EXCEPTION_HANDLER_CLASS_CONFIG,
 ProcessingExceptionHandler.class);

Review Comment:
   `processingExceptionHandler` has been created following the 
`deserializationExceptionHandler`. Thus a supplier has been used. 
   
   The supplier can be removed to make the code clearer if needed.



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to