Commit bf54776c by 刘宇峰

框架完善

1 parent 368bcab4
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>rest-admin-sentinel</artifactId> <artifactId>rest-admin-sentinel</artifactId>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>com.glsx</groupId> <!-- <groupId>com.glsx</groupId>-->
<artifactId>rest-admin-sleuth</artifactId> <!-- <artifactId>rest-admin-sleuth</artifactId>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>rest-admin-monitor</artifactId> <artifactId>rest-admin-monitor</artifactId>
......
...@@ -11,12 +11,16 @@ ...@@ -11,12 +11,16 @@
<artifactId>rest-admin-kafka-ancient</artifactId> <artifactId>rest-admin-kafka-ancient</artifactId>
<properties>
<kafka.version>0.8.2.2</kafka.version>
<spring-kafka.version>1.3.0.RELEASE</spring-kafka.version>
</properties>
<dependencies> <dependencies>
<!--kafka-->
<dependency> <dependency>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.10</artifactId> <artifactId>kafka_2.10</artifactId>
<version>0.8.1.1</version> <version>${kafka.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
...@@ -32,6 +36,11 @@ ...@@ -32,6 +36,11 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>${kafka.version}</version>
</dependency>
<!-- protocol buf --> <!-- protocol buf -->
<dependency> <dependency>
...@@ -39,10 +48,5 @@ ...@@ -39,10 +48,5 @@
<artifactId>protobuf-java</artifactId> <artifactId>protobuf-java</artifactId>
<version>2.6.1</version> <version>2.6.1</version>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file \ No newline at end of file
...@@ -15,8 +15,8 @@ import java.util.Properties; ...@@ -15,8 +15,8 @@ import java.util.Properties;
* @time 2020/12/4 * @time 2020/12/4
* @function kafka的公共配置 * @function kafka的公共配置
*/ */
@Configuration //@Configuration
@EnableConfigurationProperties(KafkaProperties.class) //@EnableConfigurationProperties(KafkaProperties.class)
public class KafkaConfig { public class KafkaConfig {
@Autowired @Autowired
......
...@@ -21,5 +21,4 @@ ...@@ -21,5 +21,4 @@
<artifactId>rest-admin-core</artifactId> <artifactId>rest-admin-core</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!