READ_STREAM to consume data from Kafka into Firebolt.
A stream tracks consumer offsets per partition so that each call to READ_STREAM with consume => true returns only new messages since the last read. You can inspect offsets through information_schema.streams and reposition them with ALTER STREAM.
Syntax
Parameters
Stream types
For
RAW_TEXT and BINARY stream types, the stream schema should define a single column named data with the appropriate type (TEXT or BYTEA).Examples
Create a JSON stream
Create a CSV stream
Create a raw text stream
Create a stream with a description
Related
READ_STREAM— Read data from a stream.ALTER STREAM— Modify stream offsets or schema.information_schema.streams— View stream metadata and consumer offsets.CREATE LOCATION— Create a location object for Kafka connection details.
ALTER STREAM
You can modify a stream after creation usingALTER STREAM.
Set partition offset
Reposition a stream’s consumer offset on a specific Kafka partition:
Example: