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

API for event stream and subscription management #16

Closed
jimthematrix opened this issue Jul 25, 2021 · 1 comment
Closed

API for event stream and subscription management #16

jimthematrix opened this issue Jul 25, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jimthematrix
Copy link
Contributor

Each eventstream represents a configured connection from the fabconnect server to a client listener. The connection can be one of the following types:

  • webhooks: the client must implement a POST endpoint that may be protected by an authorization header (basic or bearer tokens), for the events to be delivered as JSON payload
  • websocket: the client initiates a websocket connection for the events to be streamed

Under a particular event stream, multiple subscriptions can be defined, each targeting a named chaincode event, supported with regular expression based matching.

This will use the leveldb defined under the EventStreamConf object to store the events and subscriptions

@jimthematrix jimthematrix self-assigned this Aug 2, 2021
@jimthematrix jimthematrix added the enhancement New feature or request label Aug 2, 2021
@jimthematrix
Copy link
Contributor Author

fixed by #41

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

No branches or pull requests

1 participant