Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command to trigger stream recovery #47639

Open
jkarneges opened this issue Nov 14, 2016 · 1 comment
Open

command to trigger stream recovery #47639

jkarneges opened this issue Nov 14, 2016 · 1 comment

Comments

@jkarneges
Copy link
Member

The HTTP streaming reliability feature makes a request to the origin server if received messages are incorrectly sequenced or after a period of inactivity. For quiet channels, this may mean that it takes awhile to recover. If the user is aware of publishing issues (e.g. the publisher crashed), it would be useful if the user could explicitly invoke the recovery request rather than having to wait for new messages to be published or for the timeout to expire.

Consider exposing a new command (via zmq command interface as well as HTTP) called recover, with potential parameters to fine tune:

  • channel: recover only subscribers of a certain channel.
  • channel-prefix: recover any subscribers that match.
  • prev-id: recover only subscribers who previously received an item with this ID.

Default would be to recover all subscribers.

@jkarneges
Copy link
Member Author

A basic version of this is implemented in the develop branch. It doesn't have any args and always recovers all subscribers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant