kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: How to send serialized object in Kafka Producer
Date Fri, 05 Dec 2014 23:06:27 GMT
You need to write your own serializer (e.g. BeanSerializer extends
Encoder[T]) for bean object and specify that in:

properties.put("serializer.class","BeanSerializer")


Guozhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message