sijie commented on issue #5454: mysql JDBC Sink - consumer error
URL: https://github.com/apache/pulsar/issues/5454#issuecomment-586757241
 
 
   @nicolo-paganin 
   
   I don't think you are producing the avro records to an Avro Topic.
   
   1) for the first function, you are using SerDe for serializing the python 
classes into bytes. So it is actually a message without schema.
   
   2) I don't think context.publish in python function support avro schema.
   
   --
   
   In order to verify if JDBC works as expected, I would suggest using the 
producer code (mentioned in previous comments) to produce AVRO records to 
verify if JDBC sink works as expected.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to