-
Notifications
You must be signed in to change notification settings - Fork 97
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
Implement basic subscription feature #19
Comments
I have some serious concerns about trying to reconcile state between the platform and this system. I'd like to talk with you and @nikgraf on tuesday to make the case for unified configuration storage, which will negate the need to have multiple API's that effectively act as a pass-through that may fail, either forcing the platform caller to be much more complex as it handles infinite retry (and backpressure to ensure that it doesn't accumulate too many pending updates while the gateway data store is down), or destroying the consistency of the overall system. |
Will http requests use this and be considered an event like everything else? |
We should be able to specify that the input to a function is an event, as well as its output. The gateway will sit on both sides, and can asynchronously pass it along. |
We should allow multiple function inputs/outputs to be forwarded to a topic. Then functions subscribe to that topic, instead of just another function's input or output. By decoupling specific functions from topics, we can more easily support migrations and make reconfigurations easier. |
It should allow attaching an event to a function.
It can be implemented as a part of function discovery, where during the function registration source events can be defined
Example:
or as a separate endpoint
POST /subscriptions
Example:
retry
is an example field. I should start with something simple, at-least-once delivery semantic.The text was updated successfully, but these errors were encountered: