[−][src]Module nakadion::consumer
Kit for creating a consumer for a subscription
Start here if you want to consume a stream. You will need
a BatchHandlerFactory
to consume a stream.
Structs
AbortConnectOnAuthError | If |
AbortConnectOnSubscriptionNotFound | If |
BatchFlushTimeoutSecs | |
BatchLimit | |
BatchTimespanSecs | |
Builder | Creates a |
CommitRetryDelayMillis | The delay between failed attempts to commit cursors. |
CommitTimeoutMillis | The timeout for a request made to Nakadi to commit cursors. |
ConnectStreamRetryMaxDelaySecs | The maximum retry delay between failed attempts to connect to a stream. |
ConnectStreamTimeoutSecs | The timeout for a request made to Nakadi to connect to a stream. |
Consumer | Consumes an event stream |
ConsumerError | Always leads to Nakadion shutting down |
ConsumerHandle | A handle for controlling a |
ConsumerTask | A task returned when starting a |
ConsumptionOutcome | Returned once a |
DevNullLogger | |
Error | An error for cases where further investigation is not necessary |
InactivityTimeoutSecs | The time after which a stream or partition is considered inactive. |
LogLogger | |
MaxUncommittedEvents | |
SlogLogger | |
StdErrLogger | |
StdOutLogger | |
StreamDeadTimeoutSecs | The time after which a stream is considered stuck and has to be aborted. |
StreamLimit | |
StreamParameters | Parameters for starting a new stream on a subscription |
StreamTimeoutSecs | |
SubscriptionId | Id of a subscription |
TickIntervalSecs | The internal tick interval. |
Enums
CommitStrategy | Defines how to commit cursors |
ConsumerErrorKind | |
DispatchStrategy | Defines how to dispatch batches to handlers. |
Instrumentation |
Traits
Instrumented | |
LoggingAdapter |