sijie opened a new pull request #1533: Refactor JavaInstanceRunnable
URL: https://github.com/apache/incubator-pulsar/pull/1533
 
 
   *Motivation*
   
   EffectivelyOnce processing made `JavaInstanceRunnable` very complicated. 
There are tons of braching logic. It makes code hard to maintain.
   
   *Solution*
   
   Abstract the processing guarantee related logic into a `MessageProcessor` 
interface. Implement `at-most-once`, `at-least-once` and `effectively-once` 
processors.
   
   *Result*
   
   After this change, `JavaInstanceRunnable` is much cleaner. `At-Least-Once` 
and `At-Most-Once` logic are much simpler and easier to debug.
   

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


With regards,
Apache Git Services

Reply via email to