Module rdkafka::client

source ·
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

  • A low-level rdkafka client.
  • An empty ClientContext that can be used when no customizations are needed.
  • A native rdkafka-sys client. This struct shouldn’t be used directly. Use higher level Client or producers and consumers.
  • A generated OAuth token and its associated metadata.

Traits