rk3rn3r commented on a change in pull request #1052:
URL:
https://github.com/apache/camel-kafka-connector/pull/1052#discussion_r581188017
##########
File path: core/src/main/java/org/apache/camel/kafkaconnector/CamelSinkTask.java
##########
@@ -110,7 +114,8 @@ public void start(Map<String, String> props) {
final String headersRemovePattern =
config.getString(CamelSinkConnectorConfig.CAMEL_CONNECTOR_REMOVE_HEADERS_PATTERN_CONF);
mapProperties =
config.getBoolean(CamelSinkConnectorConfig.CAMEL_CONNECTOR_MAP_PROPERTIES_CONF);
mapHeaders =
config.getBoolean(CamelSinkConnectorConfig.CAMEL_CONNECTOR_MAP_HEADERS_CONF);
-
+ convertStructToMap =
config.getBoolean(CamelSinkConnectorConfig.CAMEL_SINK_STRUCT_TO_MAP_CONF);
Review comment:
"isConvertStructToMapEnabled" might be a name that better fits the
purpose?
----------------------------------------------------------------
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:
[email protected]