Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different Formats #337

Closed
2020testuser opened this issue Jan 20, 2021 · 2 comments
Closed

Different Formats #337

2020testuser opened this issue Jan 20, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@2020testuser
Copy link

Hi,
I'm using CloudEvents Java SDK. I'm getting the avro messages from Kafka in CloudEvent format. Since, avro is not supported in CloudEvents- sdk-java, could anyone please let me know how I can convert avro message to json and read them when I have the payload(body) in avro format.

Appreciate if anyone can provide more details on this. Thanks!

@slinkydeveloper
Copy link
Member

In order to read the Cloudevent as Avro message, you need an Avro EventFormat, which at the moment doesn't exist. I close this as it's a duplicate of #115

@slinkydeveloper slinkydeveloper added the duplicate This issue or pull request already exists label Jan 21, 2021
@2020testuser
Copy link
Author

@slinkydeveloper - Thanks! So, how can I get the data in byte array format and use it for further processing? Could you please shed some light of this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants