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

Tutorial on how to serialize protocolbuffers and avro #609

Open
krickert opened this issue Nov 5, 2022 · 1 comment
Open

Tutorial on how to serialize protocolbuffers and avro #609

krickert opened this issue Nov 5, 2022 · 1 comment

Comments

@krickert
Copy link

krickert commented Nov 5, 2022

Feature description

https://github.com/krickert/micronaut-kafka-container-test-example

I created a micronaut example with 3 different serialization modules:

  • String message
  • Apache Avro Message
  • Google protocol buffers message

I found there wasn't a single good place to get this going easily in micronaut. So while I was testing as I converted my project from avro to protocol buffers, I wrote these three examples.

If you find it useful, I'd be glad to include it and expand it as a guide for micronaut users.

Also, the current instructions mention the kafka embedded server but that's no longer the case. This code can be used as an example on how to test kafka via a container as well.

Thoughts?

@graemerocher
Copy link
Contributor

A guide would be great! Guides can be contributed here https://github.com/micronaut-projects/micronaut-guides/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants