blob: b2470a315a1271509320575f8db3827ea4406147 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
spring:
application:
name: hugegraph-pd
management:
metrics:
export:
prometheus:
enabled: true
endpoints:
web:
exposure:
include: "*"
grpc:
port: 8688
host: 127.0.0.1
netty-server:
max-inbound-message-size: 100MB
server:
port: 8622
pd:
cluster_id: 1
patrol-interval: 300000
data-path: tmp/8688
enable-batch-load: true
raft:
enable: true
address: 127.0.0.1:8612
peers-list: 127.0.0.1:8610,127.0.0.1:8611,127.0.0.1:8612
rpc-timeout: 10000
snapshotInterval: 300
metrics: true
initial-store-list: 127.0.0.1:8501,127.0.0.1:8502,127.0.0.1:8503
store:
keepAlive-timeout: 300
max-down-time: 1800
partition:
default-shard-count: 3
store-max-shard-count: 3
discovery:
heartbeat-try-count: 3