blob: fa4a551e641bb191b2a3b1e6e39d2b1be414c95e [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.
server:
host:
port:
request:
maxHeaderBytes:
maxBodyBytes:
headerTimeout:
timeout:
response:
timeout:
idle:
timeout:
pprof:
mode: 0
gov:
plugins:
- name: kie
type: kie
endpoint: http://127.0.0.1:30110
log:
level: DEBUG
file:
accessEnable: false
accessFile:
format:
system: false
rotateSize:
backupCount:
ssl:
dir:
# ssl.mode enable ssl or not, set 1 if enable
mode: 0
minVersion:
# ssl.verifyClient enable verify client certification CN
verifyClient: 1
ciphers:
plugin:
# plugin.dir is the directory of the *.so files
dir:
registry:
# buildin, etcd, embeded_etcd, mongodb
kind: etcd
compact:
indexDelta:
interval:
cache:
mode: 1
ttl:
# enabled if registry.kind equal to etcd or embeded_etcd
etcd:
# the interval of etcd health check, aggregation conflict check and sync loop
autoSyncInterval:
cluster:
# if registry_plugin equals to 'embeded_etcd', then
# name: sc-0
# managerEndpoints: http://127.0.0.1:2380"
# endpoints: sc-0=http://127.0.0.1:2380
# if registry_plugin equals to 'etcd', then
# endpoints: 127.0.0.1:2379
endpoints: 127.0.0.1:2379
connect:
timeout:
request:
timeout:
mongo:
cluster:
uri: mongodb://localhost:27017
service:
# enable the job clear the microservices which deploy no instance
clearEnable: false
# the interval of job
clearInterval: 12h
# the duration between current datetime and microservice created datetime
clearTTL: 24h
globalVisible:
instance:
ttl:
schema:
# if want disable Test Schema, SchemaDisable set true
disable: false
# if want disable modification of Schema in production environment, SchemaEditable set false
editable: false
# enable to register sc itself when startup
selfRegister: 1
discovery:
kind:
rbac:
enable: false
privateKeyFile:
publicKeyFile:
metrics:
interval: 30s
tracing:
kind:
zipkin:
collector:
# type should be file or server
type:
path:
endpoint:
sampler:
rate:
quota:
kind:
syncer:
enabled: false