confluentinc / kafka-connect-jdbc

Kafka Connect connector for JDBC-compatible databases
Other
21 stars 960 forks source link

How to cosume messages produced by Kafka Connect + Schema Registry + PostgreSQL #245

Open ghost opened 7 years ago

ghost commented 7 years ago

I have this wiered scenario

This is more of an Avro question but tightly wound to Schema Registry, JDBC Connector and Avro Convertes from Confluent. The consumer is java code with schema.registry property set and value.deserializer set to KafkaAvroDeserializer.

My table has 4 columns id (int) , email (text), balance (decimal), is_active (boolean).

Basically how do i get Kafka Connect to produce and a normal Kafka Consumer to consume avro data ? Appreciate any help. Any reference example would do lot good.

mebitek commented 5 years ago

have you manage this? I'm facing the same problem. a jdbc connect producing avro message and a java kafka client consuming it. however I'm not able to decode the avro message..