sijie commented on a change in pull request #3983: [Issue#3976]
[component/client] Adding config for ReaderImpl
URL: https://github.com/apache/pulsar/pull/3983#discussion_r272865762
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
##########
@@ -220,13 +220,13 @@ protected ConsumerImpl(PulsarClientImpl client, String
topic, ConsumerConfigurat
}
this.connectionHandler = new ConnectionHandler(this,
- new BackoffBuilder()
- .setInitialTime(100, TimeUnit.MILLISECONDS)
- .setMandatoryStop(60, TimeUnit.SECONDS)
- .setMax(0, TimeUnit.MILLISECONDS)
-
.useUserConfiguredIntervals(backoffIntervalNanos,
-
maxBackoffIntervalNanos)
- .create(),
+ new BackoffBuilder()
Review comment:
try to avoid formatting the code as reformatting will make reviewers harder
to review your code.
----------------------------------------------------------------
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