merlimat commented on a change in pull request #2471: Pulsar Java Client 
Interceptors.
URL: https://github.com/apache/incubator-pulsar/pull/2471#discussion_r213771388
 
 

 ##########
 File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
 ##########
 @@ -435,7 +451,7 @@ private void doBatchSendAndAdd(MessageImpl<T> msg, 
SendCallback callback, ByteBu
         payload.release();
     }
 
-    private boolean isValidProducerState(SendCallback callback) {
+    private boolean isValidProducerState(Message<T> message, SendCallback 
callback) {
 
 Review comment:
   Why adding `message` parameter here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to