BewareMyPower commented on code in PR #21889:
URL: https://github.com/apache/pulsar/pull/21889#discussion_r1452890548
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/AbstractBatchMessageContainer.java:
##########
@@ -53,6 +53,7 @@ public abstract class AbstractBatchMessageContainer
implements BatchMessageConta
// allocate a new buffer that can hold the entire batch without needing
costly reallocations
protected int maxBatchSize = INITIAL_BATCH_BUFFER_SIZE;
protected int maxMessagesNum = INITIAL_MESSAGES_NUM;
+ private volatile long nanoTimestamp = 0L;
Review Comment:
Done.
--
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]