There is a brief overview at http://incubator.apache.org/kafka/design.html(under "Producer APIs"). You can also look at the code for usages of Encoder/Decoder which will point you to some unit tests that illustrate how to use a custom encoder for producing/decoder for consuming.
On Mon, Sep 17, 2012 at 1:24 PM, Hussein Baghdadi <hubaghd...@hotmail.com>wrote: > > Hi, > I need to create a custom encoder, any tutorial or sample code to follow? > Thanks.