移除topic 限流

This commit is contained in:
许晓东
2021-11-27 20:49:46 +08:00
parent 34c87997d1
commit e881c58a8f
5 changed files with 40 additions and 16 deletions

View File

@@ -157,6 +157,7 @@ public class TopicServiceImpl implements TopicService {
tuple2 = topicConsole.configThrottle(topic, partitions);
break;
case OFF:
tuple2 = topicConsole.clearThrottle(topic);
break;
default:
throw new IllegalArgumentException("switch is unknown.");