Firehose
This page documents the configuration flags for the Firehose component. For architectural concepts and how the Firehose component works, see Firehose Architecture.
Starting the Firehose
firecore start firehose [flags]Core Configuration
--firehose-grpc-listen-addr
gRPC listening address
:10015
--common-live-blocks-addr
Relayer gRPC address for live blocks
:10014
--common-first-streamable-block
First block number available to stream
0
Storage Configuration
--common-merged-blocks-store-url
Merged blocks storage URL
file://{data-dir}/storage/merged-blocks
--common-one-block-store-url
One-block files storage URL
file://{data-dir}/storage/one-blocks
--common-forked-blocks-store-url
Forked blocks storage URL
file://{data-dir}/storage/forked-blocks
Performance Tuning
--firehose-enforce-compression
Require gzip or zstd compression
true
--firehose-rate-limit-bucket-size
Rate limit bucket size (-1 = unlimited)
-1
--firehose-rate-limit-bucket-fill-rate
Rate limit refill rate
10s
Discovery Service
For load-balanced deployments:
--firehose-discovery-service-url
gRPC discovery service URL
Example Usage
Basic Local Setup
With Cloud Storage
With Rate Limiting
gRPC API
Firehose exposes the sf.firehose.v2.Stream service:
Streaming Modes
Historical range: Specify start and stop block numbers
Historical to live: Specify start, omit stop to continue streaming indefinitely
Live only: Start from a recent block or "head"
Cursor resume: Provide cursor from previous session
Last updated
Was this helpful?
