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 2023/05/04 01:50:00 UTC

[GitHub] [pulsar] jiangpengcheng added a comment to the discussion: "cannot be cast to class" in a pulsar function producing un new message

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 commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org