Background:
I have a publisher with 2 subscribers on GCP pub/sub, both the subscribers run a NodeJS code & acknowledge once the process is done.
Issues:
- How can I know which subscriber has ack the message?
- Say I have only 1 subscriber and I have sent 10 messages at once (in parallel) and 2 have failed, how can I know which 2 messages were failed? Is there any mapping between ackId and message sent on GCP pub/sub?