kafka-connect-protobuf-converter
kafka-connect-protobuf-converter copied to clipboard
Use with producer client
Hi,
Is it possible to use this converter with a producer client instead of a connetor? I am asking this because I tried configuring a connector for my data source (gRPC) and it did not work, so I switched to the producer client api... and now stuck with protobuf to avro conversion.
I was hoping that this can also work with producer client.
Thanks Rakesh
Converters are wrappers around Kafka serializers, so the short answer is yes. Otherwise, you can always use ByteArraySerializer and native JVM Protobuf code to get byte[]
values to send
However, Confluent now has Protobuf serializers for clients to use with their Schema Registry.