Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to set properties for google pubsub in app?

Kun
Bronze 2
Bronze 2

I am trying to use google pub/sub to provide subscription service to users.

I created one topic and created one subscription(push) to verify normal operation.

But I want to add one more subscription (push), to differentiate between devServer and localServer.

I want to distinguish whether it is devServer or localServer by reading the attribute value of the message through filter.

We can differentiate this on the backend via the pub/sub Filter.

But I don't know how the app allows the user to purchase a subscription service and enter local or dev information in messages coming through rtdn.

We need your help. Please let me know if my assumptions are wrong or if I need more information!

Solved Solved
0 3 393
1 ACCEPTED SOLUTION

3 REPLIES 3

Thank you for your answer. I'll check it !

Thanks for helping out @aaronscottb