refactor: 配置结构优化重构

This commit is contained in:
haokai
2025-04-22 09:23:29 +08:00
parent 839e4e71d4
commit 0ed41e6fd1
2 changed files with 18 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
hosts: [test.janusgraph-groot-upgrade.xinhuazhiyun.com]
port: 80
connectionPool: {
minSize: 6,
maxSize: 18,
maxContentLength: 10485760,
keepAliveInterval: 1500,
maxWaitForConnection: 4000
}
serializer: {
className: org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1,
config: {
ioRegistries: [ org.janusgraph.graphdb.tinkerpop.JanusGraphIoRegistry ]
}
}

View File

@@ -17,7 +17,7 @@ dubbo.service.search.vector.group=xhzy_es_test
deploy.mode=base
ontology.mode=service
ontology.url=http://test.groot-meta.xinhuazhiyun.com
ontology.url=http://test.groot-meta-upgrade.xinhuazhiyun.com
url.entity.fusion=http://test.kg.general.process.xinhuazhiyun.com/kg/merge/fusion
url.query.analyze=http://test.query.process.xinhuazhiyun.com/api/query/analyze
@@ -29,7 +29,7 @@ url.norm=http://kg.general.process.xinhuazhiyun.com/kg/merge/relation/norm
oss.endpoint=oss-cn-hangzhou.aliyuncs.com
graph.remote.config=@project.basedir@/../config/remote-objects.yaml
graph.remote.config=entity-manage-facade/src/main/resources/shaman-config/remote-objects.yaml
storage.public=true
storage.es.write=false
@@ -79,6 +79,6 @@ thread.label-full-text.timeout=120
ons.access-channel=CLOUD
ons.namesrvAddr=http://onsaddr.mq-internet-access.mq-internet.aliyuncs.com:80
ons.topic=TEST_GROOT_GRAPH_DATA
ons.vector.group=GID_TEST_GROOT_FACADE_VECTOR_TCP
ons.vector.group=GID_TEST_GROOT_FACADE_UPGRADE_VECTOR_TCP
ons.vector.tag=VERTEX||EDGE
ons.vector.thread-num=1