Skip to main content

Module config

Module config 

Source
Expand description

Configuration metadata and Java-style property interoperability.

The public client configs are Rust-typed builders. This module keeps the Java property names as an interoperability surface and as source metadata for generated docs.

Re-exports§

pub use catalog::ADMIN_CONFIGS;
pub use catalog::CONFIG_CATALOG;
pub use catalog::CONSUMER_CONFIGS;
pub use catalog::KAFKA_CONFIG_SOURCE_REF;
pub use catalog::PRODUCER_CONFIGS;
pub use catalog::catalog_for;

Modules§

catalog
Kafka plus Kacrab runtime configuration catalog.

Structs§

AdminConfig
Typed Kafka admin configuration.
AdminConfigBuilder
Builder for AdminConfig.
ByteSize
Byte count parsed from Kafka byte-size config values.
ClientConfig
Java/librdkafka-style client configuration map.
ConfigEntry
Static metadata for one official Kafka configuration key.
ConfigKey
Normalized Java-style configuration key.
ConfigList
Comma-separated Kafka list value.
ConfigValue
Raw Java-style configuration value.
ConfigWarning
One structured config warning.
ConsumerConfig
Typed Kafka consumer configuration.
ConsumerConfigBuilder
Builder for ConsumerConfig.
DurationMs
Duration parsed from a Kafka *.ms value.
ParseConfigValueError
Error returned when parsing a raw config value into a typed Rust value.
ProducerConfig
Typed Kafka producer configuration.
ProducerConfigBuilder
Builder for ProducerConfig.
Properties
Deterministic Java-style property container.
WarningReport
Structured warnings returned by lenient property parsing.

Enums§

ClientKind
Kafka client family that owns a configuration key.
ConfigError
Error returned by strict or security-sensitive config validation.
ConfigOrigin
Source family for a configuration key.
ConfigStatus
Implementation status for an official Kafka configuration key.
TcpCongestionControl
TCP congestion control algorithm for platforms that expose per-socket control.
UnknownKeyPolicy
Unknown-key handling mode for Java-style property parsing.
WarningSeverity
Warning severity emitted by lenient config parsing.

Traits§

ParseConfigValue
Parses a raw Java-style config value into a typed Rust value.

Functions§

find_config
Finds catalog metadata for a client/key pair.
validate_properties
Validates raw Java-style properties against the official config catalog.