Skip to content

Dwolla/rsocket-consul-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsocket-consul-java

A library for streaming healthy service instances in Consul to the RSocket Java load balancer.

Dwolla/rsocket-consul-java CI license

Usage

import com.dwolla.rsocket.LoadBalancerBuilder;

// Create a LoadBalancedRSocketMono for your service
LoadbalanceRSocketClient rSocket = new LoadBalancerBuilder().build("CONSUL_SERVICE_NAME");

// Then use the resulting RSocket like you would a single instance
rSocket.fireAndForget(DefaultPayload.create("do something"));

About

A library for streaming healthy service instances in Consul to the RSocket load balancer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •