camel-telegram-sink-kafka-connector sink configuration
Connector Description: Send a message to a Telegram chat using your Telegram bot as sender. To create a bot, contact the @botfather account using the Telegram app. This sink supports the following message types: - Standard text messages - PNG images (`Content-Type` must be set to `image/png`) - JPEG images (`Content-Type` must be set to `image/jpeg`) This following message headers are also supported: - `text` / `ce-text`: when sending an image, the image caption - `chat-id` / `ce-chat-id`: to override the default chat where messages are sent to
When using camel-telegram-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
<dependency> <groupId>org.apache.camel.kafkaconnector</groupId> <artifactId>camel-telegram-sink-kafka-connector</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel Kafka connector version --> </dependency>
To use this sink connector in Kafka connect you’ll need to set the following connector.class
The camel-telegram-sink sink connector supports 2 options, which are listed below.
Required The token to access your bot on Telegram. You you can obtain it from the Telegram @botfather.
The Chat ID where messages should be sent by default.
The camel-telegram-sink sink connector has no converters out of the box.
The camel-telegram-sink sink connector has no transforms out of the box.
The camel-telegram-sink sink connector has no aggregation strategies out of the box.