You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Gilthoniel (via GitHub)" <gi...@apache.org> on 2025/06/17 13:13:31 UTC
[I] [Bug] default nack backoff policy overflows to zero [pulsar-client-go]
Gilthoniel opened a new issue, #1384:
URL: https://github.com/apache/pulsar-client-go/issues/1384
#### Expected behavior
The default nack backoff policy should return the maximum backoff time once reaching an arbitrary high redelivery count.
#### Actual behavior
The default nack backoff policy returns zero once a sufficiently big redelivery count is reached.
#### Steps to reproduce
```Go
func TestDefaultNackBackoffPolicy_Next(t *testing.T) {
defaultNackBackoff := new(defaultNackBackoffPolicy)
res := defaultNackBackoff.Next(math.MaxUint32)
assert.Equal(t, 10*time.Minute, res)
}
```
#### System configuration
**Pulsar version**: v4.0.5
**Pulsar Go client**: v0.15.1
--
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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] default nack backoff policy overflows to zero [pulsar-client-go]
Posted by "crossoverJie (via GitHub)" <gi...@apache.org>.
crossoverJie closed issue #1384: [Bug] default nack backoff policy overflows to zero
URL: https://github.com/apache/pulsar-client-go/issues/1384
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org