GitHub user jiangpengcheng added a comment to the discussion: "cannot be cast to class" in a pulsar function producing un new message
@raymondBourges seems like you added the `pulsar-client` dependency in your function, you can try with `Schema.Avro(Personne.class)` instead of the `AvroSchema.of(Personne.class)` and remove the `pulsar-client` dependency GitHub link: https://github.com/apache/pulsar/discussions/19962#discussioncomment-5798140 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
