vert-x3 / vertx-service-proxy

EventBus Proxy generation
Apache License 2.0
66 stars 58 forks source link

Protobuf codec support #147

Open vietj opened 11 months ago

vietj commented 11 months ago

In Vert.x 5 we want to support service proxies invocation to be encoded/decoded from/to protobuf as an alternative to JSON.

rookiezn commented 6 months ago

While supporting Protobuf codec, is it possible to support Protobuf generated class (extends com.google.protobuf.GeneratedMessageV3) as service method's arguments and return value?

My case is, there are some data structure defined by Protobuf outside Vert.x app. The app needs to parse and deal with those objects, my current workaround is converting those Protobuf objects to jsons and cooperate with service proxy.