Comments (10)
Some more:
/events
with long-polling would be great!- Automatically remove subscriptions after N retry failures
- Receiver should be able to validate the message using HMAC signatures from the sender
from services.
How are these events produced? Assuming if it's a webhook service that there's an endpoint where events are sent?
from services.
I imagine 3 parties: a client consumer, a server producer and the webhook microservice between them.
Example: e-commerce website
Channels: orders/create, orders/update, orders/shipped
Consumers: Subscribe to the channels they are interested in
Producer: The e-commerce website lets the webhook service know (creates an event) each time an order was created, updated or shipped.
Webhook service: Let's all subscribed consumers know about the event.
from services.
I think what you're talking about in general is a message queue or stream of events not exclusive to webhooks. We have an event service for this. https://github.com/micro/services/tree/master/event
from services.
@asim Oh yeah, I'm aware of the event service. I am talking about a webhook service. You can think of webhooks like a specialized message service though. It's just like, events received in a certain way or style.
from services.
I'd be interested to see what a complete API for webhook service looks like. Definitely something that we should include.
from services.
Here is an example for Webhook consumers https://shopify.dev/api/admin-rest/2022-07/resources/webhook
I don't have an example of a producer API though. I googled and found this though: https://api.svix.com/docs#tag/Message/operation/create_message_api_v1_app__app_id__msg__post
from services.
Do you have a specific use case in mind for this? I think its better built when needed as opposed to just for the sake of building it. Likely the use case will help inform the design.
from services.
Only a bad experience at a company that chose to invest far too much time and resources creating yet another webhook service. :)
At this time I am only a webhook consumer of Shopify's API I reference. Though as https://hookdeck.com/ demonstrates and I can personally attest to, reliably receiving all webhooks that are sent is not as easy as it sounds :) So perhaps a dedicated webhook consumer (middleman) service would also be valuable. Up until now I only had in mind a webhook dispatching sending service.
from services.
I welcome a webhook service contribution. I think personally it's a little bit beyond my capabilities at this moment.
from services.
Related Issues (20)
- Add/Remove endpoints Notes/Lists
- choosing a neutral keyword for naming in the proto file HOT 3
- Weather: Missing attributes in response example HOT 1
- Console API HOT 3
- Instagram API
- Sync API
- Define config.json per service HOT 1
- URL Permalink HOT 1
- Quran Read endpoint
- Wallet API HOT 1
- Payment service
- Proximity Service
- How can we start this project? HOT 3
- Image Generation API HOT 4
- Mastodon API HOT 3
- YouTube API +
- Remote Work API
- Rename Chat to Text
- External Dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from services.