Skip to content

Commit

Permalink
Revert demo
Browse files Browse the repository at this point in the history
Signed-off-by: “JermaineHua” <crazyhzm@gmail.com>
  • Loading branch information
CrazyHZM committed Sep 27, 2024
1 parent 88f1fea commit b7f6f85
Showing 1 changed file with 26 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,30 @@
# See the License for the specific language governing permissions and
# limitations under the License.

spring.application.name=dubbo-springboot-demo-provider

dubbo.application.name=${spring.application.name}
dubbo.protocol.name=dubbo
dubbo.protocol.port=-1
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.registry.id=zk-registry
dubbo.config-center.address=zookeeper://127.0.0.1:2181
dubbo.metadata-report.address=zookeeper://127.0.0.1:2181
dubbo.metrics.protocol=prometheus
dubbo.metrics.enable-jvm=true
dubbo.scan.base-packages=org.apache.dubbo.samples.provider.service
spring:
application:
name: dubbo-springboot-demo-provider

dubbo:
application:
name: ${spring.application.name}
protocol:
name: dubbo
port: -1
registry:
id: zk-registry
address: zookeeper://127.0.0.1:2181
config-center:
address: zookeeper://127.0.0.1:2181
metadata-report:
address: zookeeper://127.0.0.1:2181
metrics:
protocol: prometheus
enable-jvm: true
enable-registry: true
aggregation:
enabled: true
prometheus:
exporter:
enabled: true
enable-metadata: true

0 comments on commit b7f6f85

Please sign in to comment.