cckellogg commented on a change in pull request #660:
URL: https://github.com/apache/pulsar-client-go/pull/660#discussion_r744035593
##########
File path: pulsar/consumer_impl.go
##########
@@ -489,6 +495,20 @@ func (c *consumer) ReconsumeLater(msg Message, delay
time.Duration) {
}
func (c *consumer) Nack(msg Message) {
+ if c.options.EnableDefaultNackBackoffPolicy ||
c.options.NackBackoffPolicy != nil {
Review comment:
Nit create a single variable at creation for checking
c.useBackoffPolicy or something like that
--
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]