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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to