kafka 0.2.0

Rust client for Apache Kafka
Documentation
//! Clients for comunicating with a [Kafka](http://kafka.apache.org/)
//! cluster.
//!
//! The primary clients 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 resposibility
//!
//! See module level documentation corresponding of each client.

#![cfg_attr(feature = "nightly", feature(test))]

extern crate byteorder;
extern crate flate2;
extern crate crc;
extern crate snappy;
extern crate ref_slice;

#[macro_use]
extern crate log;

#[cfg(all(test, feature = "nightly"))]
extern crate test;

pub mod error;
pub mod client;
pub mod consumer;
pub mod producer;
mod utils;
mod codecs;
mod connection;
mod protocol;
mod compression;

pub use self::error::{Error, Result};