components-contrib/bindings
Abhishek Gupta 9f90855bf7 Updated Kafka binding component to add SASL authentication (#77)
* updated implementation

* removed InsecureSkipVerify
2019-10-29 23:40:30 -07:00
..
blobstorage Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
cosmosdb Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
dynamodb Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
eventhubs Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
gcpbucket - adding more corrections 2019-10-10 18:16:08 -07:00
http Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
kafka Updated Kafka binding component to add SASL authentication (#77) 2019-10-29 23:40:30 -07:00
kubernetes Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
mqtt Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
pubsub Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
rabbitmq Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
redis Add github action for CI (#59) 2019-10-28 15:39:48 -07:00
s3 Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
servicebusqueues Adding and Correcting code comments and types 2019-10-10 18:09:13 -07:00
sns Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
sqs Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
Readme.md docs: Fix RabbitMQ link (#40) 2019-10-18 03:40:17 -07:00
input_binding.go Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
metadata.go Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00
output_binding.go vendor update (#34) 2019-10-14 23:49:50 -07:00
responses.go Adding license header and updating to MIT license. (#26) 2019-10-09 10:58:08 -07:00

Readme.md

Bindings

Bindings provide a common way to trigger an application with events from external systems, or invoke an external system with optional data payloads. Bindings are great for event-driven, on-demand compute and help reduce boilerplate code.

List of bindings and their status:

Name Input Binding Output Binding Status
Kafka V V Experimental
RabbitMQ V V Experimental
AWS SQS V V Experimental
AWS SNS V Experimental
GCP Cloud Pub/Sub V V Experimental
Azure EventHubs V V Experimental
Azure CosmosDB V Experimental
GCP Storage Bucket V Experimental
HTTP V Experimental
MQTT V V Experimental
Redis V Experimental
AWS DynamoDB V Experimental
AWS S3 V Experimental
Azure Blob Storage V Experimental
Azure Service Bus Queues V V Experimental
Kubernetes Events V Experimental

Implementing a new binding

A compliant binding needs to implement one or more interfaces, depending on the type of binding (Input or Output):

Input binding:

type InputBinding interface {
	Init(metadata Metadata) error
	Read(handler func(*ReadResponse) error) error
}

Output binding:

type OutputBinding interface {
	Init(metadata Metadata) error
	Write(req *WriteRequest) error
}