event-gateway icon indicating copy to clipboard operation
event-gateway copied to clipboard

Read Events from a Queue (ampq/stomp)

Open pedrokiefer opened this issue 7 years ago • 4 comments

I would like to be able to read incoming events from a queue, instead of http requests. From the code I've read, the queue handler would need to call enqueueWork with a valid CloudEvent.

This feature could be implemented either as new plugin interface with access to the router, or as configurable endpoint with the whole ampq/stomp stack inside event-gateway.

pedrokiefer avatar Aug 03 '18 13:08 pedrokiefer

Hey @pedrokiefer,

thanks for creating the issue. Ability to read events from external systems like AMQP, Kafka, Kinesis is one of the highest priorities in our backlog.

mthenw avatar Aug 03 '18 17:08 mthenw

Something to look at here is the AMQP transport binding for CloudEvents https://github.com/cloudevents/spec/blob/master/amqp-transport-binding.md

brianneisler avatar Aug 03 '18 17:08 brianneisler

@mthenw cool! Do you have a draft of the architecture for supporting this? I might have some time to tackle this issue in the next few weeks, and having some guideline would be great.

pedrokiefer avatar Aug 03 '18 18:08 pedrokiefer

@pedrokiefer we are not at this stage yet. We are considering different options (as an external executable, or built-in into Event Gateway binary). I will update this issue once we have more info.

mthenw avatar Aug 03 '18 18:08 mthenw