Skip to content

sebgl/kafka-to-mattermost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka to Mattermost incoming webhook

Consume messages from a Kafka topic and post them to a Mattermost channel, by making use of Mattermost incoming webhook.

Usage

docker run -d \
    -e KAFKA_BROKERS=${KAFKA_BROKERS} \
    -e KAFKA_TLS=${KAFKA_TLS} \
    -e KAFKA_SASL_USER=${KAFKA_SASL_USER} \
    -e KAFKA_SASL_PASSWORD=${KAFKA_SASL_PASSWORD} \
    -e KAFKA_CONSUMER_GROUP=${KAFKA_CONSUMER_GROUP} \
    -e KAFKA_TOPIC=${KAFKA_TOPIC} \
    -e MATTERMOST_URL=${MATTERMOST_URL} \
    -e INCOMING_HOOK_KEY=${INCOMING_HOOK_KEY} \
    sebgl/kafka-to-mattermost

Kafka message format

See Mattermost incoming webhook documentation. Example:

{
    "text": "my message :tada:",
    "channel": "optionnal",
    "username": "optionnal"
}

About

Consume messages from a Kafka topic and post them to a Mattermost channel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published