server.xml
2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cobar:server SYSTEM "server.dtd">
<cobar:server xmlns:cobar="http://cobar.alibaba.com/">
<!-- 系统参数定义,服务端口、管理端口,处理器个数、线程池等。 -->
<system>
<property name="serverPort">8066</property>
<property name="managerPort">9066</property>
<property name="initExecutor">4</property>
<property name="timerExecutor">4</property>
<property name="managerExecutor">4</property>
<property name="processors">4</property>
<property name="processorHandler">8</property>
<property name="processorExecutor">32</property>
<property name="dataNodeIdleCheckPeriod">15000</property>
<property name="sqlExecuteTimeout">600</property>
<property name="monitorPeriod">5000</property>
<property name="readOnlyInSlave">false</property>
</system>
<!-- 用户访问定义,用户名、密码、schema等信息。 -->
<user name="yh_vpc_bak">
<property name="password">yoho@2Y$^YpNb7hp</property>
<property name="schemas">ufo_order,ufo_product,ufo_promotion,ufo_resource,ufo_passport,yh_reviewed,yohobuy_logs,yh_inbox,yoho_sms,yhb_promotion_split,yh_orders_split,yh_resource,yh_operations,yh_setting,yh_helper,yoho_activity,yh_events,yhb_operations,yh_guang,yh_wechat,yh_lottery,q_msg_system,yh_consult,yh_comment,yh_passport,yoho_passport,yh_coupons,yh_orders,yhb_promotion,yoho_pay,yh_shops,yohood,yh_extendstore,yh_unions,yh_community</property>
</user>
<!-- <user name="root"> <property name="password"></property> </user> -->
<zookeeper>
<property name="name">front</property>
<property name="host">zk01.yohoops.org:2181,zk02.yohoops.org:2181,zk03.yohoops.org:2181,zk04.yohoops.org:2181,zk05.yohoops.org:2181</property>
</zookeeper>
<!-- 隔离区定义,可以限定某个主机上只允许某个用户登录。 -->
<!--
<quarantine>
<host name="1.2.3.4">
<property name="user">test</property>
</host>
</quarantine>
-->
<monitor database="yoho_event" type="monitor">
<property name="user">root</property>
<property name="password">password</property>
<property name="dbUrl">http://influxdb-event.yohoops.org:8086</property>
</monitor>
<monitor database="yoho-monitor" type="event">
<property name="user">root</property>
<property name="password">password</property>
<property name="dbUrl">http://influxdb.yohoops.org:8086</property>
</monitor>
</cobar:server>