merlimat commented on a change in pull request #14231:
URL: https://github.com/apache/pulsar/pull/14231#discussion_r805074177



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
##########
@@ -1743,7 +1748,7 @@ private void resendMessages(ClientCnx cnx, long 
expectedEpoch) {
                     cnx.channel().close();
                     return;
                 }
-                int messagesToResend = pendingMessages.size();
+                long messagesToResend = pendingMessages.messagesCount();

Review comment:
       Yes, though the message is more accurate now compared to before :) 




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