9ft commented on issue #615:
URL:
https://github.com/apache/pulsar-client-go/issues/615#issuecomment-917157047
@cckellogg Subscribe specified-partition topic for example
persistent://public/default/mytopic-partition-0 will cause the problem.
```go
rlqConsumer, err := client.Subscribe(ConsumerOptions{
Topic:
"persistent://public/default/mytopic-partition-0",
SubscriptionName: "sub01",
Type: Shared,
SubscriptionInitialPosition: SubscriptionPositionEarliest,
DLQ: &DLQPolicy{MaxDeliveries: 2},
RetryEnable: true,
NackRedeliveryDelay: 1 * time.Second,
})
```
--
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]