yuvalgut commented on pull request #9927: URL: https://github.com/apache/pulsar/pull/9927#issuecomment-800536901
cool! that will be really useful. for supporting avro we can check if the Object is type of org.apache.pulsar.client.impl.schema.generic.GenericAvroRecord and then get hold of the actual avro record with '.getAvroRecord()'. io.confluent.connect.avro.AvroData will let us to convert the avro into kafka SchemaAndValue: avroData.toConnectData(avroRecord.getSchema(), avroRecord) and finally generate kafka SinkRecord. just throwing some ideas... ---------------------------------------------------------------- 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]
