rsocket / rsocket-rpc-java

Standard RSocket RPC Java Implementation
http://rsocket.io/
Apache License 2.0
172 stars 41 forks source link

Feature/ipc refactoring #49

Closed OlegDokuka closed 5 years ago

OlegDokuka commented 5 years ago

This PR drafts refactored API for IPC which provides CompositeMetadata interaction support keeping the API Backward compatible. Along with that, this PR moves away from service and method definitions and brings constant route notion and function which can respond to a particular route (route is a string value). In order to find a handler function, RequestHandlingRSocket contains a full map of routes with regards to which services they relate. Now, in order to extract route (which could be anything), we have MetadataDecoder which let us parse incoming metadata and extract the required info hiding details of a certain implementation

yschimke commented 5 years ago

I don't think I'll add much value on this PR, so opting out of the review.