You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by gi...@git.apache.org on 2017/08/24 19:51:00 UTC

[GitHub] jai1 opened a new issue #715: Introduce retry logic for creating producers and consumers

jai1 opened a new issue #715: Introduce retry logic for creating producers and consumers
URL: https://github.com/apache/incubator-pulsar/issues/715
 
 
   ### Requirement
   Creation of Producer / Subscriber can fail due to:-
   a. Genuine issues
      - In correct serviceUrl
      - VIP down
      - incorrect topic name etc
   b. Intermittent issues
      - Broker Unloading a topic 
      - Broker shutting down
      - Intermittent network issues
      - connection Timeout due to GC pause.
   
   For the (b. Intermittent Issues) the client has no option but to backoff and retry.
   
   I think this is a common enough use case to introduce new APIs (to not break Binary compatibility) for createProducer and subscribe - which will be simple wrappers over the existing APIs. These APIs will take an additional parameter retrycount, they will just blindly retry after backoff. 
   
   @merlimat @rdhabalia @saandrews - Wanted to know your views on this.
   
 
----------------------------------------------------------------
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