streamnative / pulsar-client-go

Apache Pulsar Go Client Library
https://pulsar.apache.org/
Apache License 2.0
1 stars 2 forks source link

ISSUE-658: Support nack backoff policy for Go SDK #238

Open sijie opened 3 years ago

sijie commented 3 years ago

Original Issue: apache/pulsar-client-go#658


In PIP-106, we introduce the nack backoff policy and the java impl refer to https://github.com/apache/pulsar/pull/12566.

In Go SDK, we need to catch up the feature. The initial idea is to expose the new option in ConsumerOptions, as follows:

NackBackoffPolicy *NackBackoffPolicy