Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Provide a simple, but versatile, way to map Rest endpoints in a RPC fashion.
RFC Draft
https://github.com/Skullabs/kikaha/blob/rfc-3-RPC-like-Rest-API/docs/rfc/rfc-03.md
Motivation
There's a lot of discussion about using RPC or Rest endpoint to expose microservice APIs. If we decide to pick one or another, this decision should be done wisely by considering the pros and cons from both approaches. By observing the most common Java web frameworks, it's clear that Rest APIs has been the prefered approach - probably because Rest has been seen as good replacement for SOAP and many people think about RPC as a modern SOAP.
Below are some points that draw my attention in my quick research about this topic. It reforces my previous experience on this regard by high lighting why RPC is a better approach. It worth notice though that not taking REST into account would would be seen as an irresponsible approach, once it also have some positive points.