[][src]Crate nakadi_types

Nakadi-Types

nakadi-types contains types for interacting with the Nakadi Event Broker.

There is no real logic implemented in this crate.

Almost all types in this crate match 1 to 1 to a type of the Nakadi API. Some types where Nakadi returns collections in a wrapping object are made explicit. In this case the field of the wrapping object is renamed to items for serialization purposes.

This crate is used by Nakadion

Documentation and Environment Variables

Within the documentation environment variables can contain spaces and line breaks. This is because part of the documentation was created using macros. The names of the variables of cause must not contain these characters. So be careful when copy & pasting.

Modules

event

Types for handling events

event_type

Types for defining and monitoring event types

misc

Types that are shared throughout the model

partition

Types defining a partition.

publishing
subscription

Types for subscribing to an EventType

Structs

Error

An error for cases where further investigation is not necessary.

FlowId

The flow id of the request, which is written into the logs and passed to called services. Helpful for operational troubleshooting and log analysis.

NakadiBaseUrl
RandomFlowId

Crates a random FlowId when converted into a FlowId