未验证 提交 91bddfee 编写于 作者: T Treeyh 提交者: GitHub

修复接入阿里云RocketMq no route info for this topic 问题 (#3220)

Co-authored-by: Nhai.yu <hai.yu@snowballtech.com>
上级 25feab4a
......@@ -120,7 +120,7 @@ public abstract class AbstractMQProducer implements CanalMQProducer {
}
String aliyunSecretKey = PropertiesUtils.getProperty(properties, CanalConstants.CANAL_ALIYUN_SECRET_KEY);
if (!StringUtils.isEmpty(aliyunSecretKey)) {
mqProperties.setAliyunAccessKey(aliyunSecretKey);
mqProperties.setAliyunSecretKey(aliyunSecretKey);
}
String aliyunUid = PropertiesUtils.getProperty(properties, CanalConstants.CANAL_ALIYUN_UID);
if (!StringUtils.isEmpty(aliyunUid)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册