lhotari commented on code in PR #23340:
URL: https://github.com/apache/pulsar/pull/23340#discussion_r1771802698
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -1231,14 +1231,14 @@ The max allowed delay for delayed delivery (in
milliseconds). If the broker rece
doc = "On Shared and KeyShared subscriptions, if all available
messages in the subscription are filtered "
+ "out and not dispatched to any consumer, message
dispatching will be rescheduled with a backoff "
+ "delay. This parameter sets the initial backoff delay in
milliseconds.")
- private int dispatcherRetryBackoffInitialTimeInMs = 100;
+ private int dispatcherRetryBackoffInitialTimeInMs = 0;
Review Comment:
```suggestion
private int dispatcherRetryBackoffInitialTimeInMs = 1;
```
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -1231,14 +1231,14 @@ The max allowed delay for delayed delivery (in
milliseconds). If the broker rece
doc = "On Shared and KeyShared subscriptions, if all available
messages in the subscription are filtered "
+ "out and not dispatched to any consumer, message
dispatching will be rescheduled with a backoff "
+ "delay. This parameter sets the initial backoff delay in
milliseconds.")
- private int dispatcherRetryBackoffInitialTimeInMs = 100;
+ private int dispatcherRetryBackoffInitialTimeInMs = 0;
@FieldContext(
category = CATEGORY_POLICIES,
doc = "On Shared and KeyShared subscriptions, if all available
messages in the subscription are filtered "
+ "out and not dispatched to any consumer, message
dispatching will be rescheduled with a backoff "
+ "delay. This parameter sets the maximum backoff delay in
milliseconds.")
- private int dispatcherRetryBackoffMaxTimeInMs = 1000;
+ private int dispatcherRetryBackoffMaxTimeInMs = 0;
Review Comment:
```suggestion
private int dispatcherRetryBackoffMaxTimeInMs = 10;
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]