Nicklee007 opened a new pull request, #17297:
URL: https://github.com/apache/pulsar/pull/17297

   ### Motivation
   
   Fix sendMessage param miss in createOpSendMsg which will cause build error.
   
   Build error cause
   https://github.com/apache/pulsar/runs/8032271109?check_suite_focus=true
   
   ```
   Error:  COMPILATION ERROR : 
   [INFO] -------------------------------------------------------------
   Error:  
/Users/runner/work/pulsar/pulsar/pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java:[224,39]
 no suitable method found for 
sendMessage(long,long,int,org.apache.pulsar.common.api.proto.MessageMetadata,io.netty.buffer.ByteBuf)
       method 
org.apache.pulsar.client.impl.ProducerImpl.sendMessage(long,long,int,org.apache.pulsar.client.api.MessageId,org.apache.pulsar.common.api.proto.MessageMetadata,io.netty.buffer.ByteBuf)
 is not applicable
         (actual and formal argument lists differ in length)
       method 
org.apache.pulsar.client.impl.ProducerImpl.sendMessage(long,long,long,int,org.apache.pulsar.common.api.proto.MessageMetadata,io.netty.buffer.ByteBuf)
 is not applicable
         (actual and formal argument lists differ in length)
   ```
   
   
   
https://github.com/apache/pulsar/blob/c13e669686e841a6f6e54b89e49bdb96f2ea69cd/pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java#L217-L223
   
   ### Modifications
   
   1. add the missed sendMessage param;
   
   
   ### Documentation
   
   - [X] `doc-not-needed` 
   (Please explain why)
     


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