Messages in Kafka are just bytes, so as long as you can generate a byte array (byte) you can use anything with Kafka. You will need to implement adaptors for your serialization library that implement kafka.serializer.Decoder and kafka.serializer.Encoder.
See StringDecoder/StringEncoder for a simple example (https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/serializer/Decoder.scala#L30). Of course, you can use Java instead of Scala.
On Oct 29, 2012, at 8:55 AM, Hussein Baghdadi wrote:
> Is is possible to send Kryo serialized object to Kafka ?