topoc config

This commit is contained in:
许晓东
2021-11-06 23:39:54 +08:00
parent 81c9d428fe
commit c5810a1fc6
5 changed files with 360 additions and 3 deletions

View File

@@ -54,6 +54,10 @@ export const KafkaConfigApi = {
url: "/config",
method: "get",
},
getTopicConfig: {
url: "/config/topic",
method: "get",
},
getBrokerConfig: {
url: "/config/broker",
method: "get",
@@ -78,6 +82,14 @@ export const KafkaConfigApi = {
url: "/config/broker/logger",
method: "delete",
},
setTopicConfig: {
url: "/config/topic",
method: "post",
},
deleteTopicConfig: {
url: "/config/topic",
method: "delete",
},
};
export const KafkaTopicApi = {