Module rdkafka::client [] [src]

Common client funcionalities.

Structs

Client

A low level rdkafka client. This client shouldn't be used directly. The producer and consumer modules provide different producer and consumer implementations based on top of Client that can be used instead.

EmptyContext

An empty context that can be used when no context is needed.

NativeClient

A native rdkafka-sys client.

Topic

Represents a Kafka topic with an associated producer.

Traits

Context

A Context is an object that can store user-defined data and on which callbacks can be defined. Refer to the list of methods to see which callbacks can currently be overridden. The context must be thread safe, and might be owned by multiple threads.