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


##########
streams/src/main/java/org/apache/kafka/streams/errors/ErrorHandlerContext.java:
##########
@@ -42,6 +42,8 @@ public interface ErrorHandlerContext {
      * {@link 
org.apache.kafka.streams.kstream.KTable#transformValues(ValueTransformerWithKeySupplier,
 String...)}
      * (and siblings), that do not always guarantee to provide a valid topic 
name, as they might be
      * executed "out-of-band" due to some internal optimizations applied by 
the Kafka Streams DSL.
+     * Additionally, when writing into a changelog topic, there is no 
associated input record,
+     * and thus no topic name is available.

Review Comment:
   > You can express a lot with code and meaningful names which are better 
maintanable than inline comments. Of course, there are exceptions.
   
   We are on the same page. I did say, "In general I agree". And I believe, 
this case in one of the exception you called out :) 



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