Subscription with filters

143 views
Skip to first unread message

Alessandro Rovito

unread,
Mar 19, 2021, 7:49:26 AM3/19/21
to Google Cloud Pub/Sub Discussions
Hi all,

i have a problem with this context: 
- topic A
- subscription B binding to topic A with filter "attributes.test=1"
- another subscription B binding to topic A with filter "attributes.test=2"

When i publish a message on topic A with attributes "test:1" i expect that subscription B with matched filter receive message.

But message was delivered to all subscription B.

I test it with pub sub emulator.

Where am I wrong?

Thanks

Jason Ganetsky

unread,
Mar 19, 2021, 11:20:04 AM3/19/21
to Alessandro Rovito, Google Cloud Pub/Sub Discussions
The emulator does not support filtering yet, unfortunately.

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/afe35731-1b04-4456-9e65-4a708054ba11n%40googlegroups.com.


--
Jason Ganetsky | Software Engineer | gane...@google.com | US-NYC-9TH 7B101E
Reply all
Reply to author
Forward
0 new messages