Added
- Add Client#force_reconnect (#159)
- Implement Service API (#160)
- Implement KV watchers (#161)
# Using a queue
w = kv.watchall
entry = w.updates
# As Enumerables (requires at least Ruby 3.2)
entries = kv.watchall.take(10)
# Using a block
kv.watchall.each do |entry|
puts "#{entry.key} -- #{entry.value}"
end
# Gather all keys
keys = kv.keys.to_a
puts keys
Fixed
- Shutdown
subscription_executor
on close and reconnect (#155)
Improved
- Support multi URI connection string with spaces after comma (#151)