Struct nakadion::publisher::NakadiPublisher [] [src]

pub struct NakadiPublisher { /* fields omitted */ }

Publishes events to Nakadi

The publisher is just a convinience struct and is not used for consuming a Nakadi stream. It is simply a helper for publishing to a Nakadi stream

Methods

impl NakadiPublisher
[src]

[src]

Create a new NakadiPublisher

[src]

Create a new NakadiPublisher

[src]

Publish events packed into a vector of bytes.

The events must be encoded in a way that Nakadi can understand.

[src]

Publish the given events to Nakadi

Trait Implementations

Auto Trait Implementations