scalecube / scalecube-cluster

ScaleCube Cluster is a lightweight Java VM implementation of SWIM: Scalable Weakly-consistent Infection-style Process Group Membership Protocol. features cluster membership, failure detection, and gossip protocol library.
http://scalecube.github.io/
Apache License 2.0
263 stars 88 forks source link

Transport implementation decoupling #362

Closed SammyVimes closed 3 years ago

SammyVimes commented 3 years ago

Currently, scalecube-cluster is dependant on the scalecube-transport-netty module even though it might not be needed in case of a custom transport implementation. Excluding scalecube-transport-netty won't help as TransportImpl from scalecube-transport-netty is used in ClusterImpl and NoClassDefFoundError will be raised In this PR I moved transport-netty to test dependencies and also extracted bind methods from TransportImpl to Transport.