You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/12/22 14:55:16 UTC

[GitHub] [pulsar] liudezhi2098 opened a new pull request #13456: Support add custom properties for the reconsumeLater interface

liudezhi2098 opened a new pull request #13456:
URL: https://github.com/apache/pulsar/pull/13456


   Master Issue: #13410
   ### Motivation
   For retry messages in some cases, users need to  properties
   
   ### Modifications
   This change can be supported on the client side, need to add a set of interfaces to org.apache.pulsar.client.api.Consumer
   
   ```java
   void reconsumeLater(Message<?> message, Map<String, String> customProperties, long delayTime, TimeUnit unit) throws PulsarClientException;
   CompletableFuture<Void> reconsumeLaterAsync(Message<?> message, Map<String, String> customProperties, long delayTime, TimeUnit unit);
   CompletableFuture<Void> reconsumeLaterCumulativeAsync(Message<?> message, Map<String, String> customProperties, long delayTime, TimeUnit unit);
   ```
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on pull request #13456: Support add custom properties for the reconsumeLater interface

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #13456:
URL: https://github.com/apache/pulsar/pull/13456#issuecomment-999635624


   @liudezhi2098:Thanks for your contribution. For this PR, do we need to update docs?
   (The [PR template contains info about doc](https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation), which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] liudezhi2098 closed pull request #13456: Support add custom properties for the reconsumeLater interface

Posted by GitBox <gi...@apache.org>.
liudezhi2098 closed pull request #13456:
URL: https://github.com/apache/pulsar/pull/13456


   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org