zhangjidi2016 commented on code in PR #128:
URL: https://github.com/apache/rocketmq-connect/pull/128#discussion_r867664586
##########
rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/connectorwrapper/WorkerSourceTask.java:
##########
@@ -351,7 +352,11 @@ private void putExtendMsgProperty(ConnectRecord
sourceDataEntry, Message sourceM
return;
}
for (String key : keySet) {
- MessageAccessor.putProperty(sourceMessage, "connect-ext-" + key,
extensionKeyValues.getString(key));
+ if (key.equals(MessageConst.PROPERTY_KEYS) ||
key.equals(MessageConst.PROPERTY_TAGS)) {
Review Comment:
Well, that's more flexible,I will change it later.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]