Introducing new features. Sentinel Support ConsulDataSource Dynamic Rule Configuration

fix checkstyle error
pull/1318/head
mengjin 5 years ago
parent 7b06f44ee4
commit 08ba076a42

@ -17,6 +17,7 @@
package com.alibaba.cloud.sentinel.datasource.config;
import com.alibaba.cloud.sentinel.datasource.factorybean.ConsulDataSourceFactoryBean;
import org.springframework.util.StringUtils;
/**
@ -32,12 +33,12 @@ public class ConsulDataSourceProperties extends AbstractDataSourceProperties {
}
/**
* consul server host
* consul server host.
*/
private String host;
/**
* consul server port
* consul server port.
*/
private int port=8500;

@ -18,6 +18,7 @@ package com.alibaba.cloud.sentinel.datasource.factorybean;
import com.alibaba.csp.sentinel.datasource.Converter;
import com.alibaba.csp.sentinel.datasource.consul.ConsulDataSource;
import org.springframework.beans.factory.FactoryBean;
/**

@ -3,4 +3,4 @@ file =com.alibaba.csp.sentinel.datasource.FileRefreshableDataSource
apollo = com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource
zk = com.alibaba.csp.sentinel.datasource.zookeeper.ZookeeperDataSource
redis = com.alibaba.csp.sentinel.datasource.redis.RedisDataSource
consul = com.alibaba.csp.sentinel.datasource.consul.ConsulDataSource
consul = com.alibaba.csp.sentinel.datasource.consul.ConsulDataSource

Loading…
Cancel
Save