Skip to main content

Module kafka

Module kafka 

Source

StructsΒ§

GlueConsumerContext πŸ”’
An implementation of ConsumerContext that forwards statistics to the worker
HealthStatus πŸ”’
KafkaResumeUpperProcessor
Processes resume_uppers stream updates, committing them upstream and reporting each export’s offset_committed.
KafkaSourceReader
Contains all information necessary to ingest data from Kafka
PartitionCapability πŸ”’
PartitionConsumer πŸ”’
Wrapper around a partition containing the underlying consumer
ReaderConsumerSetup πŸ”’
Creates a reader worker’s consumer, possibly long after the operator started, and reports failures to the operator’s outputs.
SourceOutputInfo πŸ”’

EnumsΒ§

KafkaHeaderParseError
MetadataUpdate πŸ”’
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Β§

DataOutput πŸ”’
HealthOutput πŸ”’
PartitionWatermark πŸ”’
The high/low watermark offsets of a Kafka partition.
ReaderConsumer πŸ”’