SpringCloudPeerDiscovery

class SpringCloudPeerDiscovery(client: () -> ReactiveDiscoveryClient?) : PeerDiscovery

wow.peer.discovery=spring-cloud: a peer service's nodes are the instances the application's Spring Cloud service registry (Consul, Eureka, Nacos, Zookeeper, through their starters) has of the service, each at the internal address its WowInstanceMetadata names. It reads them through the application's ReactiveDiscoveryClient, Spring Cloud's composite one by default; it declares no setting of its own.

Experimental, as PeerDiscovery is.

Constructors

Link copied to clipboard
constructor(client: () -> ReactiveDiscoveryClient?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether a node opened it: whether it finds its peers through the registry.

Link copied to clipboard
open override val type: String

Functions

Link copied to clipboard
open override fun open(config: PeerDiscoveryConfig): PeerTargets

Opens the targets on the application's discovery client; refused when it has none.