Structsยง
- Glue
Consumer ๐Context - An implementation of
ConsumerContext
that forwards statistics to the worker - Health
Status ๐ - Kafka
Resume Upper Processor - Processes
resume_uppers
stream updates, committing them upstream and storing them in theprogress_statistics
to be emitted later. - Kafka
Source Reader - Contains all information necessary to ingest data from Kafka
- Partial
Progress ๐Statistics - A partially-filled version of
ProgressStatisticsUpdate
. This allows us to only emit updates whenoffset_known
is updated by the metadata thread. - Partition
Capability ๐ - Partition
Consumer ๐ - Wrapper around a partition containing the underlying consumer
- Source
Output ๐Info
Enumsยง
- Kafka
Header Parse Error - Metadata
Update ๐ - An update produced by the metadata fetcher.
Functionsยง
- construct_
source_ ๐message - fetch_
partition_ ๐info - Fetches the list of partitions and their corresponding high watermark.
- render_
metadata_ ๐fetcher - Render the metadata fetcher of a Kafka source.
- render_
reader ๐ - Render the reader of a Kafka source.
- responsible_
for_ ๐pid - Computes whether this worker is responsible for consuming a partition. It assigns partitions to workers in a round-robin fashion, starting at an arbitrary worker based on the hash of the source id.
- spawn_
metadata_ ๐thread
Type Aliasesยง
- High
Watermark ๐ - The high watermark offsets of a Kafka partition.