camel-log-sink-kafka-connector sink configuration
Connector Description: A sink that logs all data that it receives, useful for debugging purposes.
When using camel-log-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-log-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
connector.class=org.apache.camel.kafkaconnector.logsink.CamelLogsinkSinkConnector
The camel-log-sink sink connector supports 13 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Name of the logging category to use. | "log-sink" | MEDIUM | |
Logging level to use. | "INFO" | MEDIUM | |
Mask sensitive information like password or passphrase in the log. | false | MEDIUM | |
An optional Marker name to use. | MEDIUM | ||
If enabled then each information is outputted on a newline. | false | MEDIUM | |
Show all of the exchange properties (both internal and custom). | false | MEDIUM | |
Show the message body. | true | MEDIUM | |
Show the body Java type. | true | MEDIUM | |
Shows the Message Exchange Pattern (or MEP for short). | true | MEDIUM | |
Show the headers received. | false | MEDIUM | |
Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties. | false | MEDIUM | |
Show the stream bodies (they may not be available in following steps). | false | MEDIUM | |
Whether Camel should show cached stream bodies or not. | true | MEDIUM |
The camel-log-sink sink connector has no converters out of the box.
The camel-log-sink sink connector has no transforms out of the box.
The camel-log-sink sink connector has no aggregation strategies out of the box.