Struct nakadion::consumer::Consumer[][src]

pub struct Consumer { /* fields omitted */ }

The consumer connects to the stream using a StreamingClient and then iterates over the batches.

The consumer also manages connection attempts to the stream and reconnect.

This is the main component consuming batches and instatiation helper components for each newly connected stream.

The consumer creates a background thread.

Methods

impl Consumer
[src]

Start a new Consumer

Auto Trait Implementations

impl Send for Consumer

impl Sync for Consumer