vgaur commented on a change in pull request #5312:
URL: https://github.com/apache/camel/pull/5312#discussion_r610525249



##########
File path: 
components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaProducer.java
##########
@@ -189,6 +196,7 @@ public boolean hasNext() {
                     String innerTopic = msgTopic;
                     Object innerKey = null;
                     Integer innerPartitionKey = null;
+                    Long innerTimestamp = null;

Review comment:
       In case of OVERRIDE_TOPIC , if inner message doesn't have override topic 
, we use the override topic from outer exchange.
   I assumed we will follow the same, if overide time is not present in inner 
message , use the override time from outer exchange and if the override time is 
not set even on outer exchange, then set it as null. 




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