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

Ack batch msgs

Open EAHITechnology opened this issue 3 years ago • 4 comments

Problem

Some messages send by Asyn. The messages in the batch may have many identical msgids.If we Ack a batch message, then all batches will be confirmed

We expect

User can confirm a single message

EAHITechnology avatar Aug 24 '21 09:08 EAHITechnology

Can we transplant the ack logic of java client?I learned that java client already supports.I can provide support

EAHITechnology avatar Aug 25 '21 02:08 EAHITechnology

I'm a little confused on what the issue is. Are you suggesting there should be a way to ack all messages within a batch without having to ack all messages within that batch individually?

cckellogg avatar Aug 25 '21 16:08 cckellogg

@cckellogg we want to ack some msgs in batch, not all. The msgid include ledgerID, entryID, partitionIdx but not batchIdx in bookie. Won't all msg be confirmed when we ack a msg in batch?

EAHITechnology avatar Aug 30 '21 12:08 EAHITechnology

Any progress on this?

yangou avatar Aug 03 '22 02:08 yangou