fvaleri commented on a change in pull request #193:
URL: 
https://github.com/apache/camel-kafka-connector/pull/193#discussion_r420958484



##########
File path: 
core/src/main/java/org/apache/camel/kafkaconnector/CamelSinkConnectorConfig.java
##########
@@ -38,10 +38,16 @@
     public static final String CAMEL_SINK_URL_DOC = "The camel url to 
configure the destination. If this is set " + CAMEL_SINK_COMPONENT_CONF
             + " and all the properties starting with " + 
CamelSinkTask.getCamelSinkEndpointConfigPrefix() + ".<" + 
CAMEL_SINK_COMPONENT_CONF + " value> are ignored.";
 
+    // do not log record's payload by default, as it may contain sensitive 
information
+    public static final Boolean CAMEL_SINK_LOG_PAYLOAD_DEFAULT = false;
+    public static final String CAMEL_SINK_LOG_PAYLOAD_CONF = 
"camel.source.logPayload";

Review comment:
       Thanks




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to