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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to