This post elaborates on building event-driven APIs by making use of Webhook and API Gateway, we understand the role of each in this solution. By Bobur Umurzokov.
The article explains:
- Need for a webhook
- What’s webhook?
- Webhook and API Gateway in event-driven architecture
- Subscription process
- Callback process
Webhook tries to decouple the concerns like a message acknowledgment and the processing messages in the API and no synchronous business logic is performed. However, the above architectural example we discussed can be a complicated pattern to implement given that it has many moving parts and the API are not aware of a consuming application endpoint is up and running but that can be improved. Interesting!
[Read More]