sijie commented on a change in pull request #3848: [Issue-2122] [pulsar-client]
Adding configuration for backoff strategy
URL: https://github.com/apache/pulsar/pull/3848#discussion_r266841551
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ConsumerConfigurationData.java
##########
@@ -94,6 +94,10 @@
private boolean autoUpdatePartitions = true;
+ private long backoffIntervalNanos = TimeUnit.MILLISECONDS.toNanos(100);
Review comment:
@ConcurrencyPractitioner I think what @merlimat suggested is `backoff` is
the settings for a pulsar client, it is a common setting shared across the
producers and consumers on one client. it would be good to add the settings to
ClientBuilder and ClientConfigurationData. You can access the configuration in
client object. Hope this clarify the comment.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services