pulsar-client-go icon indicating copy to clipboard operation
pulsar-client-go copied to clipboard

please check Failed by consumer Ack Message ID

Open Liberxue opened this issue 3 years ago • 3 comments

https://github.com/apache/pulsar-client-go/blob/b0f328e358d45e822efac164b11dc493bbecfcaa/pulsar/consumer_impl.go#L435

Liberxue avatar Sep 29 '21 07:09 Liberxue

The current Ack command has no return value. If the ack fails, the message will continue to be stored in the backlog on the broker side, and the message will not be lost.

After the 2.8.0 version, we introduced the transaction function, here we added response to Ack's Command

wolfstudy avatar Oct 09 '21 07:10 wolfstudy

The current Ack command has no return value. If the ack fails, the message will continue to be stored in the backlog on the broker side, and the message will not be lost.

After the 2.8.0 version, we introduced the transaction function, here we added response to Ack's Command

  • If the client is deployed in k8s, then after the client ACK, restarting will cause message duplication (need the client to handle idempotence?)

  • How to guarantee exactly-once?

Liberxue avatar Dec 06 '21 17:12 Liberxue

Under normal use (no transaction) , the semantics is at least once @Liberxue

EAHITechnology avatar Dec 29 '21 12:12 EAHITechnology