eolivelli opened a new pull request #11322: URL: https://github.com/apache/pulsar/pull/11322
The Sink should be able to manage the result of GenericRecord.getNativeObject(). In order to do this Apache AVRO must be loaded from the same classloader that is loading Apache Pulsar Runtime. The same problem applies in the case of a JsonNode returned by getNativeObject(); *Modifications* - Add AVRO to the list of classes (like slf4j) to be loaded from the Pulsar runtime. - Enhance the existing integration tests, that tested about the Schema definition, but it didn't actually try to "use" the GenericRecord object This is only a proof-of-concept PR, in order to support the discussion. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
