use std::collections::BTreeMap;
pub mod defaults;
pub mod macros;
pub mod partition;
#[cfg(feature = "events")]
pub mod event;
pub use partition::PartitionError;
pub type ReplicaMap = BTreeMap<PartitionId, Vec<SpuId>>;
pub type Reason = String;
pub type Name = String;
pub type SpuName = String;
pub type SpuId = i32;
pub type SmartModuleName = String;
pub type IsOnline = bool;
pub type IsOk = bool;
pub type TopicName = String;
pub type PartitionId = u32;
pub type PartitionCount = u32;
pub type ReplicationFactor = u32;
pub type IgnoreRackAssignment = bool;
pub type TokenName = String;
pub type TokenSecret = String;
pub type Timestamp = i64;