You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it would be desirable for fluxcloud to expose a HTTP endpoint which would return a list of the events it's received (limited to some user configurable value for memory reasons) that could be polled by an external service?
We have a use case where we'd like to receive flux events in a system where we can't accept inbound connections (so webhooks don't work) but we can make outbound connections to other services.
I'm not sure if this even makes sense for fluxcloud or should be its own service that fluxcloud can talk to via webhooks. Maybe even something like a redis/kafka/whatever exporter would work (fluxcloud writes events to redis, we poll redis for new events 🤷♂️ ).
Wanted to find out what you think before trying to implement this.
The text was updated successfully, but these errors were encountered:
This is an interesting use-case. My main apprehension there is we would need to maintain some state to ensure you could retrieve events even after a restart. I think adding an exporter for a some queue that you use would be the best bet.
I’m happy to write the Redis exporter - but not sure when I’ll be able to get to it, so if you want it sooner I’m happy to accept the contribution!
I was wondering if it would be desirable for fluxcloud to expose a HTTP endpoint which would return a list of the events it's received (limited to some user configurable value for memory reasons) that could be polled by an external service?
We have a use case where we'd like to receive flux events in a system where we can't accept inbound connections (so webhooks don't work) but we can make outbound connections to other services.
I'm not sure if this even makes sense for fluxcloud or should be its own service that fluxcloud can talk to via webhooks. Maybe even something like a redis/kafka/whatever exporter would work (fluxcloud writes events to redis, we poll redis for new events 🤷♂️ ).
Wanted to find out what you think before trying to implement this.
The text was updated successfully, but these errors were encountered: