Crate kafka

source ·
Expand description

Clients for comunicating with a Kafka cluster. These are:

  • kafka::producer::Producer - for sending message to Kafka
  • kafka::consumer::Consumer - for retrieving/consuming messages from Kafka
  • kafka::client::KafkaClient - a lower-level, general purpose client leaving you with more power but also more responsibility

See module level documentation corresponding to each client individually.

Re-exports

  • pub use self::error::Error;
  • pub use self::error::Result;

Modules

  • Kafka Client - A mid-level abstraction for a kafka cluster allowing building higher level constructs.
  • Kafka Consumer - A higher-level API for consuming kafka topics.
  • Error struct and methods
  • Kafka Producer - A higher-level API for sending messages to Kafka topics.