fluvio-types 0.1.0

Fluvio common types
Documentation
use std::collections::BTreeMap;

pub mod defaults;
pub mod macros;
pub mod partition;

pub use partition::PartitionError;

//
// Types
//
pub type ReplicaMap = BTreeMap<i32, Vec<i32>>;
pub type Reason = String;
pub type Name = String;

pub type SpuName = String;
pub type SpuId = i32;

pub type IsOnline = bool;
pub type IsOk = bool;

// Topic
pub type TopicName = String;
pub type PartitionId = i32;
pub type PartitionCount = i32;
pub type ReplicationFactor = i32;
pub type IgnoreRackAssignment = bool;

// AuthToken
pub type TokenName = String;
pub type TokenSecret = String;