Authored by wangnan

修改配置文件

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
... ...
#web.content
web.context=search-consumer
#zk
zkAddress=192.168.102.224:2181
#es
search.es.cluster.name=yohosearch
search.es.servers=192.168.102.12:9300 192.168.102.13:9300
search.index.number_of_replicas=1
search.index.refresh_interval=1s
search.index.translog.flush_threshold_ops=5000
#redis
redis.proxy.address=192.168.102.222
redis.proxy.port=6379
... ... @@ -19,27 +32,11 @@ search.mq.password=123qwe
search.mq.exchange=yoho_search
search.mq.virtualHost=/yohosearch
#es
search.es.cluster.name=yohosearch
search.es.servers=192.168.102.12:9300 192.168.102.13:9300
search.index.number_of_replicas=1
search.index.refresh_interval=1s
search.index.translog.flush_threshold_ops=5000
#consumer
search.index.batch.limit=5000
search.index.batch.limit.tbl=2000
search.index.batch.max.thread.size=10
#build productIndexBO
build.productindex.batch.limit=5000
build.productindex.batch.max.thread.size=10
build.productindex.test=false
build.productindex.use.code=true
#build storageskuIndex
build.storageskuindex.use.code=true
#tbl
tbl.product.private.key=a85bb0674e08986c6b115d5e3a4884fa
tbl.product.url=http://test.soa.global.yohobuy.com/product/api/v1/detail/
... ... @@ -48,8 +45,5 @@ tbl.product.url=http://test.soa.global.yohobuy.com/product/api/v1/detail/
tpl.adaptor.domain=http://192.168.102.224:8085/search-adaptor
tpl.adaptor.valid=true
#rebuild
zkAddress=192.168.102.224:2181
#web.content
web.context=search-consumer
\ No newline at end of file
... ...
... ... @@ -34,14 +34,6 @@ search.index.batch.limit=5000
search.index.batch.limit.tbl=2000
search.index.batch.max.thread.size=10
#build productIndexBO
build.productindex.batch.limit=5000
build.productindex.batch.max.thread.size=10
build.productindex.test=false
build.productindex.use.code=${build.productindex.use.code}
#build storageskuIndex
build.storageskuindex.use.code=${build.storageskuindex.use.code}
#tbl
tbl.product.private.key=a85bb0674e08986c6b115d5e3a4884fa
... ...