rsocket-rpc-java
rsocket-rpc-java copied to clipboard
Simplify generator plugin using JProtoc
It would make it easier to support RSocket-RPC-Java plugin if it is written in a more flexible way using a templating engine like mustache or more convenient for codegen like JavaPoet.
This will simplify writing things such as #26 #20 #24
I guess it will also open a window for some external contributors who have no C++ knowledge and dramatically simplify the build/release process
I don't want to require a JVM to generate code. C++ supports mustache templates though (https://github.com/no1msd/mstch), and you re-use this in different languages like .net, javascript, etc. Switching to mustache would probably do the most to make this easier than switching a language.
Yeah, sounds good to me, will look at that
@robertroeser but in 99% cases rsocket-rpc-java
will generate java sources during a Java build, and JVM will already be available. Isn't it so?
Also, I can't see how rsocket-rpc-java
's (!) generator can be reused in different languages
@bsideup @OlegDokuka I tried to implement an alternative Rsocket Rpc based on Salesforce Jprotoc. Additionally I also tried to simplify the API usage (similar to GRPC) by natively supporting tracing, micrometer options. I appreciate if you can take a look and give feedbacks
https://github.com/ilterpehlivan/rsocket-rpc
Thanks