Skip to content

Release v3.23.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 15:31
16c0472

The client now backs off and reconnects reactor and reducer streams the way the .NET client does, so a fleet of clients converges smoothly during a kernel rollout.

Added

  • The :observation_reconnect client option (base_delay, max_delay, healthy_stream_duration, in milliseconds) tunes the stream reconnect backoff, and invalid values are rejected when the client starts

Changed

  • Reactor and reducer observation streams now reconnect with a jittered wait that grows while a stream keeps ending without having worked (2 seconds doubling up to a minute, starting over once a stream delivered or stayed open for three minutes), instead of retrying on a fixed interval, so clients no longer return as one herd during a kernel rollout. The defaults match the .NET client (part of Cratis/Chronicle#5817)
  • When the kernel no longer knows the client's session, for example after a kernel restart, the client drops the session once and reconnects with a new connection id, and its reactors and reducers register again, instead of retrying the stream against the lost session. Reports about an earlier session are ignored, and session reconnects also back off with jitter (part of Cratis/Chronicle#5817)
  • Errors thrown by your own reactor or reducer handlers no longer count as a lost stream or session