nats-architecture-and-design icon indicating copy to clipboard operation
nats-architecture-and-design copied to clipboard

Consumer Idle Heartbeats

Open ripienaar opened this issue 3 years ago • 5 comments

Overview

Consumer heartbeats can help clients to detect when an ephemeral consumer have been lost due to network interruption or if messages were lost.

The behavior is documented in ADR-9.

Clients and Tools

  • [x] Schemas @ripienaar
  • [x] CLI @ripienaar
  • [x] Terraform @ripienaar
  • [x] Github Actions @ripienaar
  • [x] Go @wallyqs
  • [x] Java @scottf
  • [x] JavaScript
  • [x] .Net @ColinSullivan1
  • [x] C @kozlovic
  • [x] Python @wallyqs
  • [ ] Rust @Jarema

Other Tasks

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

ripienaar avatar Jul 01 '21 19:07 ripienaar

@ripienaar FYI: reference to ADR-9 points to page not found. I don't think there is such ADR at the moment?

kozlovic avatar Jul 01 '21 19:07 kozlovic

@ripienaar FYI: reference to ADR-9 points to page not found. I don't think there is such ADR at the moment?

fixed :) actually, something else going on...

ripienaar avatar Jul 01 '21 19:07 ripienaar

there seem to be adr-9 in the nats-server repo, so is it just that they have not been moved around yet?

kozlovic avatar Jul 01 '21 19:07 kozlovic

there seem to be adr-9 in the nats-server repo, so is it just that they have not been moved around yet?

Yeah there's some confusion, @aricart left a gap for me while my KV one is being reviewed and I confused things moving them here. let me fix that

ripienaar avatar Jul 01 '21 19:07 ripienaar

@ripienaar the javascript client in its current incarnation doesn't 'handle' the error, but enables clients to handle it - if the current box is simply whether you can solicit the heart beating then this is handled, however as an automated solution is likely more desirable.

aricart avatar Jul 06 '21 14:07 aricart