salsferrazza / solutions-pubsub-websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solutions-pubsub-websockets

A sample application illustrating how to stream Google Cloud Pub/Sub messages to a browser using WebSockets

As more applications embrace an event-driven model, it becomes important that user-interfaces can achieve simple, low-friction connectivity to the messaging services that form the cornerstone of these architectures.

Several options for streaming data to web browser clients are available, the most common of which is WebSockets. This repository contains code illustrating how to distribute a stream of messages published via Pub/Sub to a browser front-end using the WebSockets protocol.

See the published GCP tutorial for full details and instructions.

About

License:Apache License 2.0


Languages

Language:JavaScript 74.6%Language:HTML 12.8%Language:CSS 12.6%