ronenhamias / scalecube-services

v2.0 - ScaleCube Services provides a low latency Reactive Microservices library for serverless service registry and discovery based on gossip protocol and without single point-of-failure or bottlenecks.
http://scalecube.io/
Apache License 2.0
26 stars 7 forks source link

Misconception of service provider modules #251

Closed artem-v closed 6 years ago

artem-v commented 6 years ago

There's a module: scalecube-services-discovery, his api interface io.scalecube.services.discovery.api.ServiceDiscovery leaves under services-api. Ok. Great.

On the other hand modules: scalecube-services-transport, scalecube-services-codec leaves apart, i.e. their interfaces was defined in separate modules. On which services module depends.

Looks like we have different approaches. Need to come up with single one. Everyapi ***-api layer lives in services-api module or every api layers lives in corresponding modules on which service-api depends.