StructsΒ§
- Glue
Consumer πContext - An implementation of
ConsumerContextthat forwards statistics to the worker - Health
Status π - Kafka
Resume Upper Processor - Processes
resume_uppersstream updates, committing them upstream and reporting each exportβsoffset_committed. - Kafka
Source Reader - Contains all information necessary to ingest data from Kafka
- Partition
Capability π - Partition
Consumer π - Wrapper around a partition containing the underlying consumer
- Reader
Consumer πSetup - Creates a reader workerβs consumer, possibly long after the operator started, and reports failures to the operatorβs outputs.
- Source
Output πInfo
EnumsΒ§
- Kafka
Header Parse Error - Metadata
Update π - An update produced by the metadata fetcher.
ConstantsΒ§
- FETCH_
MAX_ πBYTES - The librdkafka default
fetch.max.bytes, set explicitly becauseRECEIVE_MESSAGE_MAX_BYTES_RANGEderives its minimum from it. - FETCH_
MESSAGE_ πMAX_ BYTES_ RANGE - The
fetch.message.max.bytesvalues librdkafka accepts. - QUEUED_
MAX_ πMESSAGES_ KBYTES - The librdkafka default
queued.max.messages.kbytes. - RECEIVE_
MESSAGE_ πMAX_ BYTES_ RANGE - The
receive.message.max.bytesvalues librdkafka accepts withFETCH_MAX_BYTES. The maximum is librdkafkaβsINT_MAXbound on the property.
FunctionsΒ§
- clamp_
to_ πlibrdkafka_ range - Returns the value of
configinconfig_set, clamped torange. - 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Β§
- Data
Output π - Health
Output π - Partition
Watermark π - The high/low watermark offsets of a Kafka partition.
- Reader
Consumer π