Struct nakadi_types::subscription::Subscription [−][src]
pub struct Subscription { pub id: SubscriptionId, pub owning_application: OwningApplication, pub event_types: EventTypeNames, pub consumer_group: Option<ConsumerGroup>, pub created_at: DateTime<Utc>, pub updated_at: DateTime<Utc>, }
Expand description
Subscription is a high level consumption unit.
Subscriptions allow applications to easily scale the number of clients by managing consumed event offsets and distributing load between instances. The key properties that identify subscription are ‘owning_application’, ‘event_types’ and ‘consumer_group’. It’s not possible to have two different subscriptions with these properties being the same.
See also Nakadi Manual
Fields
id: SubscriptionId
owning_application: OwningApplication
event_types: EventTypeNames
consumer_group: Option<ConsumerGroup>
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnwindSafe for Subscription
Blanket Implementations
Mutably borrows from an owned value. Read more