1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Network layer for Kafka connections.
//!
//! This module provides:
//! - TCP connection handling with priority-based request scheduling
//! - Connection pooling with multi-connection bundles for high throughput
//! - Automatic reconnection with exponential backoff
//! - Request/response correlation
//! - TLS/SSL encrypted connections
//! - SASL authentication (PLAIN, SCRAM)
//!
//! # Request Priority
//!
//! Connections support automatic priority scheduling:
//! - **High priority**: Heartbeats, metadata, coordinator discovery
//! - **Normal priority**: Produce, fetch, and other data requests
//!
//! This prevents consumer group ejection during backpressure.
//!
//! # Multi-Connection Bundles
//!
//! For extreme high-throughput scenarios (>100k msg/s per broker), configure
//! multiple connections per broker:
//!
//! ```rust,ignore
//! let config = ConnectionConfig::builder()
//! .connections_per_broker(4) // 4 parallel connections
//! .build();
//! ```
pub use ;
pub use ;
pub use ;
pub use ;