serverless / serverless-kubeless

This plugin enables support for Kubeless within the Serverless Framework.
Apache License 2.0
303 stars 80 forks source link

Added: Basic first NATS message queue trigger support #143

Closed nea closed 6 years ago

nea commented 6 years ago

Hi

In reference to #142 I tried to add basic NATS/Kafka support with overall fallback to Kafka.

I introduced new labels queue and topic for trigger to separate/allow an according configuration.

Hope this is ok. And feedback is welcome to adapt.

Best

nea commented 6 years ago

Sure, will do.

Just did it locally on my test project for my sender/receiver test. So I am confident it will work :)

nea commented 6 years ago

Hey @andresmgot

I added install requirements for NATS based on the kubeless documentation (https://kubeless.io/docs/pubsub-functions/) and added an according test.

Cheers