Skip to content

Commit

Permalink
[ISSUE #9111] Fix ACL in ExportRocksDBConfigToJsonRequestHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
qianye1001 committed Jan 22, 2025
1 parent ecd3007 commit 37e6de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.rocketmq.common.action.Action;
import org.apache.rocketmq.common.action.RocketMQAction;
import org.apache.rocketmq.common.resource.ResourceType;
import org.apache.rocketmq.remoting.CommandCustomHeader;
import org.apache.rocketmq.remoting.annotation.CFNotNull;
import org.apache.rocketmq.remoting.exception.RemotingCommandException;
import org.apache.rocketmq.remoting.protocol.RequestCode;

@RocketMQAction(value = RequestCode.EXPORT_ROCKSDB_CONFIG_TO_JSON, action = Action.GET)
@RocketMQAction(value = RequestCode.EXPORT_ROCKSDB_CONFIG_TO_JSON, resource = ResourceType.CLUSTER, action = Action.UPDATE)
public class ExportRocksDBConfigToJsonRequestHeader implements CommandCustomHeader {
private static final String CONFIG_TYPE_SEPARATOR = ";";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class GetConsumeStatsRequestHeader extends TopicRequestHeader {
private String topic;

// if topicList is provided, topic will be ignored
@RocketMQResource(ResourceType.TOPIC)
@RocketMQResource(value = ResourceType.TOPIC, splitter = TOPIC_NAME_SEPARATOR)
private String topicList;

@Override
Expand Down

0 comments on commit 37e6de3

Please sign in to comment.