terraform-provider-kafka-connect

command module
v0.0.0-...-a8ccdef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2018 License: BSD-2-Clause Imports: 2 Imported by: 0

README

terraform-provider-kafka-connect

Terraform provider for Kafka Connect

Installing

Install latest version:

go get -u github.com/wakeful/terraform-provider-kafka-connect

or download binary from release page.

Register plugin in your local .terraformrc:

cat >> ~/.terraformrc <<EOF
providers {
  kafkaconnect = "${GOPATH}/bin/terraform-provider-kafka-connect"
}
EOF

Example

provider "kafkaconnect" {
  url = "http://kafka_connect_url:PORT"
}

resource "kafkaconnect_connector" "readFromFile" {

  name = "readFromFile"

  config = {
    "name" = "local-file-sink"
    "connector.class" = "FileStreamSink"
    "tasks.max" = "1"
    "file" = "/tmp/readFile.txt"
    "topics" = "deliverToTopic"
  }

}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL