StackStorm / StackStorm/st2

Support requesting event history via api/v1/stream

Open
#2,954 3 comments 0 reactions 1 assignee View on GitHub

@Mierdin is already working on this.

Since Nov 9, 2016.

complexity:medium feature
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

It would be great if a client could reconnect to the api/v1/stream and request all events since a given point in time. That way my streaming logic could connect to a client and reliably request all events missed from the last time we missed. This saves the client from having to implement a hybrid polling/streaming approach as all missed events / status updates would come via the interface.

The RFC does mention the concept of an event-stream-id. Being relatively new to streams this may or may not be something we could use.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.