PubSub
The PubSub integration allows you to send blockchain data to a Google PubSub topic by emitting a specific Protobuf object in your Substreams: sf.substreams.sink.pubsub.v1.Publish.
Getting Started
If you are new Substreams, refer to the Develop Substreams section to learn about the main pieces of building a Substreams from scratch.
Clone the https://github.com/streamingfast/substreams-sink-pubsub GitHub repository.
Install the PubSub CLI. This CLI will help in deploying your Substreams to the PubSub Service.
Create a topic in the Google PubSub Service, where the data of your Substreams will be sent.
Deploy your Substreams by using the PubSub CLI:
You can find some Substreams examples in the examples
directory of the repository.
Last updated