1 2 3 4 5 6 7 8 9 10 11
//! 消费者组协议 //! //! - 4.1 Group Coordinator:__consumer_offsets 内部主题 //! - 4.2 消费者组成员管理:JoinGroup / SyncGroup / Heartbeat / LeaveGroup //! - 4.3 Offset 管理:OffsetCommit / OffsetFetch //! - 4.4 Rebalance 协议:状态机 Empty → PreparingRebalance → CompletingRebalance → Stable pub mod coordinator; pub mod offset_store; pub use coordinator::{GroupCoordinator, GroupState};