Expand description
Common client functionality.
In librdkafka parlance, a client is either a consumer or a producer. This
module’s Client
type provides the functionality that is common to both
consumers and producers.
Typically you will not want to construct a client directly. Construct one of
the consumers in the consumer
module or one of the producers in the
producer
modules instead.
Structs§
- Broker
Addr - Describes the address of a broker in a Kafka cluster.
- Client
- A low-level rdkafka client.
- Default
Client Context - An empty
ClientContext
that can be used when no customizations are needed. - Native
Client - A native rdkafka-sys client. This struct shouldn’t be used directly. Use
higher level
Client
or producers and consumers. - OAuth
Token - A generated OAuth token and its associated metadata.
Traits§
- Client
Context - Client-level context.