lhotari commented on code in PR #21:
URL: 
https://github.com/apache/pulsar-client-reactive/pull/21#discussion_r1026440016


##########
pulsar-client-reactive-api/src/main/java/org/apache/pulsar/reactive/client/api/MessageResult.java:
##########
@@ -38,6 +38,14 @@ static MessageResult<Void> negativeAcknowledge(MessageId 
messageId) {
                return ApiImplementationFactory.negativeAcknowledge(messageId);
        }
 
+       static <V> MessageResult<Void> acknowledge(Message<V> message) {
+               return 
ApiImplementationFactory.acknowledge(message.getMessageId());

Review Comment:
   ```suggestion
                return acknowledge(message.getMessageId());
   ```



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