krakend / krakend-pubsub

a pubsub backend for the KrakenD framework
https://www.krakend.io
Apache License 2.0
10 stars 16 forks source link

Support for NATS.io in addition to amqp for async listeners #20

Open nathanbrizzee-cdcr opened 1 year ago

nathanbrizzee-cdcr commented 1 year ago

First off, what an awesome piece of software this is! Thanks so much for creating such a powerful gateway product! I didn't know which project/repo to post this under so I figured it might get attention here. The Pub/Sub functionality with NATS.io works great. So I was surprised to see that there isn't an async listener for NATS.io. In fact, amqp is the only async listener supported (at the time of this writing) even though pub/sub works with a variety of providers. It would be really nice to have this last piece of missing functionality. Since an endpoint can be set up to subscribe to a NATS.io subject and it works great, it seems it wouldn't take much to create an async listener from that same piece of code. ampq is a great feature, but supporting NATS.io would be a huge asset to krakend. Thanks so much! I guess the same could be said for Kafka as well. Async listeners config only shows amqp All supported Pub/Sub providers

kpacha commented 1 year ago

@nathanbrizzee-cdcr that's on the roadmap but it has very low priority. I moved the issue to the repo that should be extended in order to add the requested support.

I will keep this issue open, so we can monitor the opinion of the community and change the prio of that internal task if needed