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.

ConstantsΒ§

FETCH_MAX_BYTES πŸ”’
The librdkafka default fetch.max.bytes, set explicitly because RECEIVE_MESSAGE_MAX_BYTES_RANGE derives its minimum from it.
FETCH_MESSAGE_MAX_BYTES_RANGE πŸ”’
The fetch.message.max.bytes values librdkafka accepts.
QUEUED_MAX_MESSAGES_KBYTES πŸ”’
The librdkafka default queued.max.messages.kbytes.
RECEIVE_MESSAGE_MAX_BYTES_RANGE πŸ”’
The receive.message.max.bytes values librdkafka accepts with FETCH_MAX_BYTES. The maximum is librdkafka’s INT_MAX bound on the property.

FunctionsΒ§

clamp_to_librdkafka_range πŸ”’
Returns the value of config in config_set, clamped to range.
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 πŸ”’