mp911de / spinach

Scalable Java Disque client
Apache License 2.0
34 stars 4 forks source link

Support a pluggable reconnect mechanism #9

Closed mp911de closed 9 years ago

mp911de commented 9 years ago

If a client gets disconnected, disque servers are retried in a round-robin fashion. It would be helpful to choose from various connect/reconnect mechanisms (even for connecting to the first node, similar to Redis Sentinel). The HELLO command provides a list of nodes and priorities for instance.

mp911de commented 9 years ago

Implemented.