The Go Pulsar client does not support configuring acknowledgment timeout. This feature was intentionally left out; instead, you should use negative acknowledgments (Nack) or Dead Letter Queue (DLQ) policies for message redelivery. If a message is not acked or nacked, it will only be redelivered if the consumer crashes and reconnects, not after a timeout period as in some other clients like Java or Python. For more, see
pulsar-client-go issue #403 and
pulsar-client-go issue #217.
Would you like more detail on how to use Nack or DLQ with the Go client?
Sources:
-
pulsar-client-go issue #403
-
pulsar-client-go issue #217 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.