Coder Social home page Coder Social logo

kafka-connect-slack's Introduction

kafka-connect-slack

A kafka-connect sink connector, for formatting, and sending messages to Slack

CircleCI

๐Ÿ”Œ Installation

Download the latest jar and place it in your kafka-connect plugins folder.

๐Ÿ› ๏ธ Configuration

resource "kafka-connect_connector" "slack_sink" {
  name = "slack_sink"

  config = {
    "name"             = "slack_sink"
    "connector.class"  = "net.mongey.kafka.connect.SlackSinkConnector"
    "topics"           = "paid-orders"
    "slack.token"      = "${var.slack_token}"
    "slack.channel"    = "shipping-requests"
    "message.template" = "${customer.firstname} created a new order"
  }
}
  • slack.token is the slack token for the connector to use.
  • slack.channel defines what channel to send the message into. (Optional)
  • slack.username defines the user to send the message to. (Optional)
  • message.template defines the template to use for the message.

๐Ÿ“ message.template

Interpolate fields from the message using ${field_name}. Nested fields are accessible using a . e.g. ${customer.address.city}

kafka-connect-slack's People

Contributors

mongey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kafka-connect-slack's Issues

Artifact unavailable

I navigated to where I think the artifact should be in circleci but it looks like artifacts are not stored for more than 30 days.

There are no artifacts to show here.
After 30 days, all artifacts associated with a build automatically expire. Since this run is over 30 days old, the artifacts may have been deleted.

I could be looking in the wrong place but i ended up here

It's a bummer too cuz i really wanted to throw this connector in our connect cluster and impress some people at work!

Configure without Terraform?

Can I use this without terraform? I am happy to install the jar and put my configuration in a file for the connector to use at runtime.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.