Subscription filter

134 views
Skip to first unread message

Utkarsh Sharma

unread,
Jun 29, 2020, 9:15:19 AM6/29/20
to Google Cloud Pub/Sub Discussions
For how long has Subscription filter been in beta phase? I am thinking of using it for my project which is currently serving multiple clients but being a bit doubtful as it is still is beta phase.

Utkarsh Sharma

unread,
Jul 8, 2020, 10:40:34 AM7/8/20
to Google Cloud Pub/Sub Discussions
@here can anybody please help me on this?

Alex Hong

unread,
Jul 8, 2020, 3:44:14 PM7/8/20
to Utkarsh Sharma, Google Cloud Pub/Sub Discussions
From the Pub/Sub releases page, it has been in beta since June 8th, 2020.

-Alex


--
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/718b45b4-4479-440b-a54d-93d3bef23344n%40googlegroups.com.

Utkarsh Sharma

unread,
Jul 9, 2020, 8:46:25 AM7/9/20
to Google Cloud Pub/Sub Discussions
Thanks a lot for your help Alex.

Asaf Horovitz

unread,
Jul 9, 2020, 11:29:00 AM7/9/20
to Google Cloud Pub/Sub Discussions
i created sink to send cloudsql logs
is it possible to filter only logs from "user=dev"?

Utkarsh Sharma

unread,
Jul 10, 2020, 1:52:20 PM7/10/20
to Google Cloud Pub/Sub Discussions
Yes it is possible if you send user string as an attribute and then specify the criteria to filter the messages as shown in subscription filter.

Irvi Aini

unread,
Oct 26, 2020, 1:31:56 PM10/26/20
to Google Cloud Pub/Sub Discussions
Hi,

I was wondering if <, >, <=, and >= is supported on the filter?

Best,

Monica (Google Cloud Platform)

unread,
Oct 27, 2020, 3:44:15 PM10/27/20
to Google Cloud Pub/Sub Discussions
Since the filter refers mainly to strings the >, <, <=, >= are not supported. As per documentation you can use:
Comparison operators : , =, != 
Boolean operators AND OR and NOT
Functions hasPrefix

Irvi Aini

unread,
Oct 27, 2020, 3:46:52 PM10/27/20
to Monica (Google Cloud Platform), Google Cloud Pub/Sub Discussions
Hi,

Thanks for your reply. If there’s a numerical comparison do we also need to convert it into strung?

Thanks,

--
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.
--
Irvi A

Reply all
Reply to author
Forward
0 new messages