Quantcast
Channel: Active questions tagged consumer - Stack Overflow
Viewing all articles
Browse latest Browse all 90

Does acking a message in Google Pub/Sub also ack its duplicates?

$
0
0

I have a subscription in Google Pub/Sub where messages can be either acknowledged (acked) or not acknowledged (nacked). To handle the at-least-once delivery guarantee of Pub/Sub, I use an idempotent store to deduplicate messages that are delivered multiple times.

Currently, I nack duplicate messages. However, I'm curious: if I process a message that was previously in progress and then successfully ack it, will this acknowledgment also apply to the duplicate messages that I had nacked earlier?

I haven't found any related documentation. Any clarification on this behavior would be greatly appreciated.


Viewing all articles
Browse latest Browse all 90

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>