SantanuKar43 commented on code in PR #24059:
URL: https://github.com/apache/pulsar/pull/24059#discussion_r1981594016
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java:
##########
@@ -824,6 +826,13 @@ private MessageImpl<?> getMessageImpl(Message<?> message) {
return null;
}
+ private static void copyMessageEventTimeIfNeeded(Message<?> message,
+
TypedMessageBuilder<byte[]> typedMessageBuilderNew) {
+ if (message.getEventTime() > 0) {
Review Comment:
@lhotari yes, that was my thought as well but there is a check that prevents
a negative eventtime -
https://github.com/apache/pulsar/blob/0cc266d54d69205c78dc1bcf03f0b608c20fb62b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/TypedMessageBuilderImpl.java#L189
--
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]