Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Use with producer client #52

Open
rakeshbgupta opened this issue Mar 18, 2020 · 1 comment
Open

Use with producer client #52

rakeshbgupta opened this issue Mar 18, 2020 · 1 comment

Comments

@rakeshbgupta
Copy link

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

@OneCricketeer
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants