From 9abaa0867cf032bc5ca4949aa781c73f757b4f34 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Fri, 20 May 2022 21:24:11 +0800 Subject: [PATCH] Change application file type --- .../src/main/resources/application.properties | 9 +++++++++ .../src/main/resources/application.yml | 19 ------------------- 2 files changed, 9 insertions(+), 19 deletions(-) create mode 100644 hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.properties delete mode 100644 hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.yml diff --git a/hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.properties b/hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.properties new file mode 100644 index 00000000..33d16c9e --- /dev/null +++ b/hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.properties @@ -0,0 +1,9 @@ +server.port=8888 + +spring.application.name=dynamic-threadpool-zookeeper-example + +spring.dynamic.thread-pool.config-file-type=properties +spring.dynamic.thread-pool.zookeeper.zk-connect-str=127.0.0.1:2181 +spring.dynamic.thread-pool.zookeeper.config-version=1.0.0 +spring.dynamic.thread-pool.zookeeper.root-node=/configserver/userproject +spring.dynamic.thread-pool.zookeeper.node=zookeeper-demo diff --git a/hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.yml b/hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.yml deleted file mode 100644 index 25c826ed..00000000 --- a/hippo4j-example/hippo4j-core-zookeeper-spring-boot-starter-example/src/main/resources/application.yml +++ /dev/null @@ -1,19 +0,0 @@ -server: - port: 8888 - -spring: - application: - name: dynamic-threadpool-zookeeper-example - - dynamic: - thread-pool: - config-file-type: properties - zookeeper: - zk-connect-str: 127.0.0.1:2181 - config-version: 1.0.0 - root-node: /configserver/userproject - node: zookeeper-demo - -#logging: -# level: -# root: DEBUG \ No newline at end of file