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 2018/07/28 00:55:56 UTC

[GitHub] rdhabalia opened a new pull request #2260: ack message for atmost processing guaranty

rdhabalia opened a new pull request #2260: ack message for atmost processing guaranty
URL: https://github.com/apache/incubator-pulsar/pull/2260
 
 
   ### Motivation
   
   [at-most-once](https://doc.akka.io/docs/akka/current/general/message-delivery-reliability.html?language=scala) delivery can't give delivery guaranteed. If function has pulsar as a source and sink both then right now, `PulsarSinkAtMostOnceProcessor` doesn't ack message to broker so, broker restart can redeliver all messages and user might not be expecting this behavior for `at-most-once`.
   
   ### Modifications
   
   Pulsar sink acks messages regardless publish-result for `at-most-once` usecase.
   
   ### Result
   
   Pulsar sink will not redeliver duplicate messages when it is consuming messages from pulsar-source for `at-most-once`.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services