1use std::collections::BTreeMap;
2
3pub mod compression;
4pub mod defaults;
5pub mod macros;
6pub mod partition;
7pub mod config_file;
8
9#[cfg(feature = "events")]
10pub mod event;
11
12pub use partition::PartitionError;
13
14pub type ReplicaMap = BTreeMap<PartitionId, Vec<SpuId>>;
18pub type Reason = String;
19pub type Name = String;
20
21pub type SpuName = String;
22pub type SpuId = i32;
23
24pub type SmartModuleName = String;
25
26pub type IsOnline = bool;
27pub type IsOk = bool;
28
29pub type TopicName = String;
31pub type PartitionId = u32;
32pub type PartitionCount = u32;
33pub type ReplicationFactor = u32;
34pub type IgnoreRackAssignment = bool;
35
36pub type TokenName = String;
38pub type TokenSecret = String;
39
40pub type Timestamp = i64;