Skip to content

"cannot be cast to class" in a pulsar function producing un new message #19962

Closed Answered by jiangpengcheng
raymondBourges asked this question in Q&A
Discussion options

You must be logged in to vote

@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

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by raymondBourges
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants