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

Generic Protobuf MessageCodec example #2

Open
tmulle opened this issue May 26, 2022 · 1 comment
Open

Generic Protobuf MessageCodec example #2

tmulle opened this issue May 26, 2022 · 1 comment
Labels
question Further information is requested

Comments

@tmulle
Copy link

tmulle commented May 26, 2022

Hi,

Sorry if this isn't the correct way to submit code but I just came across your repo today while searching for the exact subject.

I wanted to send/receive Protobufs over the eventbus..

After a lot of searching and trial and error I came up with a generic solution that I thought I'd offer for your documentation or code if you'd like.

If you already have something, then you can ignore me :-)

https://github.com/tmulle/VertxProtobufEventBusCodec.git

@tsegismont
Copy link
Contributor

Hi @tmulle , thank you for sharing. Your solution is interesting but we've been asked in the past how to exchange protobuf messages without creating a codec for each message type.

If you look at the code in #1 , you will see that we need a single codec instance (but that works for Vert.x 4.3+ only)

@tsegismont tsegismont added the question Further information is requested label May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants