Sending and Receiving Cloud Events with Kafka #33017
Replies: 4 comments 4 replies
-
Hi, I am trying to customize the Cloud Events outgoing messages as described on the section Sending Cloud Events on Kafka but it fails with the folowing error: SRMSG00053: Invalid method annotated with @Outgoing: com.example.ExampleProducer#toCloudEvents - no parameters expected The error message is clear and after digging deeper what worked for me was de following:
As the same example is on the Smallrye docs I would like to check if I am missing something or is it something wrong with the docs. |
Beta Was this translation helpful? Give feedback.
-
did you manage to find a solution for this please? |
Beta Was this translation helpful? Give feedback.
-
oh yes.. sorry dont know what I was thinking what exactly are you @OverRide please? Do you have this code on git somewhere please? |
Beta Was this translation helpful? Give feedback.
-
https://github.com/rh-soln-pattern-sentiment-analysis/product-reviews/tree/cloudevents here is it Post any JSON to ProductReviewResource.java and KafkaService writes to a kafka topic called globex.reviews |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Sending and Receiving Cloud Events with Kafka
Quarkus: Supersonic Subatomic Java
https://quarkus.io/blog/kafka-cloud-events/
Beta Was this translation helpful? Give feedback.
All reactions