准备开发多集群支持

This commit is contained in:
许晓东
2022-01-03 22:02:03 +08:00
parent 02abe67fce
commit 2427ce2c1e
10 changed files with 245 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
package com.xuxd.kafka.console.config;
import java.util.Properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@@ -33,6 +34,8 @@ public class KafkaConfig {
private boolean enableAcl;
private Properties properties;
public String getBootstrapServer() {
return bootstrapServer;
}
@@ -112,4 +115,12 @@ public class KafkaConfig {
public void setEnableAcl(boolean enableAcl) {
this.enableAcl = enableAcl;
}
public Properties getProperties() {
return properties;
}
public void setProperties(Properties properties) {
this.properties = properties;
}
}