liftbridge-io / liftbridge

Lightweight, fault-tolerant message streams.
https://liftbridge.io
Apache License 2.0
2.57k stars 107 forks source link

Webhook extension #92

Closed supapo closed 4 years ago

supapo commented 5 years ago

Hi all, I want to discuss about a Webhook extension.

The main idea is to add a Webhook gateway feature to liftbridge. Pub/sub software clients registered to some subject and listening to the messages. How we can extend the regular behavior, and send the messages with an HTTP request. Let's say that on the registration the client will declare a URL to send the messages in a known format.

What do you think about the approach? and how the design should look like?

tylertreat commented 5 years ago

My thought is this functionality would more belong in a separate "push gateway" server that sets up subscriptions for configured subjects and pushes to configured webhook URLs, rather than putting it in Liftbridge itself.

tylertreat commented 4 years ago

Closing this as there aren't plans to implement webhooks directly in Liftbridge. A separate webhook service as described above would be a great solution if someone is looking for a way to contribute.