Scala helper modules for operating the Apache Kafka client library (0.9.x - 0.10.x)
key.serializer
and value.serializer
in your config. Use the manually created instances instead.
GenericAvroSerializer
for the GenericRecord
should work since it just makes sure that only GenericRecord
values pass through it to the KafkaAvroSerializer
.
GenericAvroSerializer
and consume it like in https://github.com/ferhtaydn/sack/tree/master/src/main/scala/com/ferhtaydn/sack/avro
the magic byte
0x0 in first byte
GenericAvroSerializer
or direct KafkaAvroSerializer
objects?
hey @jkpl, the problem is solved by using raw KafkaAvroSerializer
by giving Object
type to both producer and records. Strictly generic typed consumers and producers are a bit difficult to use for this level of kafka ecosystem stack I think, when you give everything with Properties
and Object
it just works :) the last comment for issue, you may want to check. datamountaineer/stream-reactor#80
thanks for help.