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§
- Admin
Config - Typed Kafka admin configuration.
- Admin
Config Builder - Builder for
AdminConfig. - Byte
Size - Byte count parsed from Kafka byte-size config values.
- Client
Config - Java/librdkafka-style client configuration map.
- Config
Entry - Static metadata for one official Kafka configuration key.
- Config
Key - Normalized Java-style configuration key.
- Config
List - Comma-separated Kafka list value.
- Config
Value - Raw Java-style configuration value.
- Config
Warning - One structured config warning.
- Consumer
Config - Typed Kafka consumer configuration.
- Consumer
Config Builder - Builder for
ConsumerConfig. - Duration
Ms - Duration parsed from a Kafka
*.msvalue. - Parse
Config Value Error - Error returned when parsing a raw config value into a typed Rust value.
- Producer
Config - Typed Kafka producer configuration.
- Producer
Config Builder - Builder for
ProducerConfig. - Properties
- Deterministic Java-style property container.
- Warning
Report - Structured warnings returned by lenient property parsing.
Enums§
- Client
Kind - Kafka client family that owns a configuration key.
- Config
Error - Error returned by strict or security-sensitive config validation.
- Config
Origin - Source family for a configuration key.
- Config
Status - Implementation status for an official Kafka configuration key.
- TcpCongestion
Control - TCP congestion control algorithm for platforms that expose per-socket control.
- Unknown
KeyPolicy - Unknown-key handling mode for Java-style property parsing.
- Warning
Severity - Warning severity emitted by lenient config parsing.
Traits§
- Parse
Config Value - 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.