You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/01 03:37:49 UTC
[GitHub] [pulsar] freeznet commented on issue #15434: [Doc] JSON/AVRO SerDe for Functions and Connectors
freeznet commented on issue #15434:
URL: https://github.com/apache/pulsar/issues/15434#issuecomment-1171895925
Hi @cometa-haley, currently the python functions do not support customize the schema, so all messages send from python functions are in BYTES schema, and this is why the other connectors cannot handle the messages correctly.
There is a hacky way to do:
- use a Java function with the SerDe to convert the messages from Python (BYTES) to Avro Schema messages as an intermediate step, then use the output of Java function to the connectors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org