Can i publish message to a pubsub topic from Firebase application directly?
472 views
Skip to first unread message
pallav jyoti bora
unread,
Apr 19, 2020, 12:31:40 PM4/19/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Developers
Can i publish message to a pubsub topic from Firebase application directly?
Olu
unread,
Apr 20, 2020, 9:01:41 AM4/20/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud Developers
I understand you are looking to use your Firebase application as the publisher application that creates and sends messages to a PubSub topic. At this point though, I am not exactly clear on what you mean by "directly" but of course, Sending messages to a PubSub topic depends on the type of Firebase application. I see no reason why it should not be possible. This documentation[1] shows how you could send messages to topics that multiple devices have opted for on Web/JavaScript. This Stackoverflow link[2] also discusses the possibility of using the Client library to send messages from your Firebase Cloud Functions to PubSub, I recommend you read the details shared on the page.