rele
rele copied to clipboard
Avro support
Hello, would you consider introducing Avro encoder support for the publisher?
Interesting. What are you thinking exactly?
You would want to encode an Avro schema to json? Or you would want to send Avro over RPC to google?
The first option should be possible, quite easily actually.
Im not sure the second would be possible in the scope of this library.
It looks like it's doable: https://github.com/googleapis/python-pubsub/blob/HEAD/samples/snippets/schema.py
Hey - thanks for the quick reply! I was interested in supporting the use case they have on the docs: https://cloud.google.com/pubsub/docs/publisher#python