code:13, msg:FAILED: Topic is not in the proxy white list, uniqDelayMsgId:
chao-cn opened this issue · comments
code:13, msg:FAILED: Topic is not in the proxy white list, uniqDelayMsgId:
需要在哪里配置白名单啊?谢谢!
延迟队列
我修改了 chronos模块chronos.yaml配置文件中的 pullConfig.innerGroup 和pullConfig.innerTopic两项参数时遇到了这个问题。
初始化ddmq时这两项参数在sql脚本里面写死了,如果后期更改默认的innerTopic名称,会导致不能正确的获得innerTopic名称,出现上述错误。
我的解决方法:
- 找到数据库表cluster_mqserver_relation,修改延迟队列前缀:
"delay":{"chronosInnerTopicPrefix":"延迟队列前缀","innerTopicNum":1},如R_test_chronos_inner_修改为R_chronos_inner_。 - 进入zookeeper目录:/carrera/v4/config/pproxy,修改pproxy配置,将延迟队列前缀也修改过来:
"delay":{"chronosInnerTopicPrefix":"R_chronos_inner_","innerTopicNum":1} - 重启producer服务