A Stream Gateway basically listens to messages on a message queue.
The configuration for an event source is somewhat similar between all stream gateways. We will go through setup of NATS gateway.
NATS gateway consumes messages by subscribing to NATS topic.
Publish message to subject
foo. You might find this useful.