Click to copy

• Reviewed for ksqlDB 0.29

How to Create a Sink Connector in ksqlDB

This is an example of creating a sink connector that publishes to Slack using Apache Camel connectors:

CREATE SINK CONNECTOR slack_test WITH (
  'topics' = 'tweets',
  'connector.class' = 'org.apache.camel.kafkaconnector.slacksink.CamelSlacksinkSinkConnector',
  'camel.kamelet.slack-sink.webhookUrl' = 'https://hooks.slack.com/services/XXXXXX/XXXXXX/XXXXXXXXXXX',
  'camel.kamelet.slack-sink.channel' = 'camel-records'
);
Discover what readers are saying
topictale
Get easy to digest how-tos on ksqlDB
Sign up
Please read our Privacy Policy to understand how we protect and manage your data.
You may also like