google cloud platform – Attribute and message interchanges when event published to GCP pubsub topic from different source and consume by single receiver
Suppose we have 3 application App1, App2, App3, these 3 of each publishes event Which is message and attributes to the GCP pubsub topic. For example App1 publishes message m1 with attribute a1
and App2 publishes message m2 with attribute a2. And these 2 apps publishes thousands of event concurrently. I have single receiver application ReceiverApp. What I can notice is out of thousands event for 5 to 10, ReceiverApp receives message m1 published by App1 with attribute a2 published by App2. Which means when concurrently event published by different application to a topic then message and attributes getting mixed.
Reason, solution ?
Read more here: Source link