mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-30 18:10:44 +08:00
This commit is contained in:
@@ -440,6 +440,13 @@ public class AdminBrokerProcessor implements NettyRequestProcessor {
|
||||
return response;
|
||||
}
|
||||
|
||||
if (topicConfig.equals(this.brokerController.getTopicConfigManager().getTopicConfigTable().get(topic))) {
|
||||
LOGGER.info("Broker receive request to update or create topic={}, but topicConfig has no changes , so idempotent, caller address={}",
|
||||
requestHeader.getTopic(), RemotingHelper.parseChannelRemoteAddr(ctx.channel()));
|
||||
response.setCode(ResponseCode.SUCCESS);
|
||||
return response;
|
||||
}
|
||||
|
||||
try {
|
||||
this.brokerController.getTopicConfigManager().updateTopicConfig(topicConfig);
|
||||
if (brokerController.getBrokerConfig().isEnableSingleTopicRegister()) {
|
||||
|
||||
Reference in New Issue
Block a user