summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorjixinyi <[email protected]>2018-12-09 22:04:54 +0800
committerjixinyi <[email protected]>2018-12-09 22:04:54 +0800
commit4516823a22a501bd9e05a5d15a902144904fa239 (patch)
tree8ce3ea6a1217062cf206b927479325a719d42868 /bin
parent498b8c6327627defd17013d8c21c7227b0312a48 (diff)
整理目录结构
Diffstat (limited to 'bin')
-rw-r--r--bin/conf/mctrl.conf25
-rw-r--r--bin/conf/table_info.conf22
2 files changed, 47 insertions, 0 deletions
diff --git a/bin/conf/mctrl.conf b/bin/conf/mctrl.conf
new file mode 100644
index 0000000..3a5d955
--- /dev/null
+++ b/bin/conf/mctrl.conf
@@ -0,0 +1,25 @@
+[Mctrl]
+table_info_path=./conf/table_info.conf
+max_thread_num=1
+logger_level=30
+logger_path=./log/ir_mctrl.log
+
+[Mctrl_D]
+Maat_redis_ip=192.168.11.243
+Maat_redis_port=6800
+Maat_redis_index=1
+
+[Mctrl_S]
+Maat_redis_ip=192.168.11.243
+Maat_redis_port=6379
+Maat_redis_index=6
+
+[Mctrl_I]
+Maat_redis_ip=192.168.11.243
+Maat_redis_port=6800
+Maat_redis_index=1
+
+[Mctrl_N]
+Maat_redis_ip=192.168.11.243
+Maat_redis_port=6800
+Maat_redis_index=5
diff --git a/bin/conf/table_info.conf b/bin/conf/table_info.conf
new file mode 100644
index 0000000..03e0579
--- /dev/null
+++ b/bin/conf/table_info.conf
@@ -0,0 +1,22 @@
+#each collumn seperate with '\t'
+#id (0~65535)
+#name string
+#type one of ip,expr,expr_plus,digest,intval,compile or plugin
+#src_charset one of GBK,BIG5,UNICODE,UTF8
+#dst_charset combined by GBK,BIG5,UNICODE,UTF8,seperate with '/'
+#do_merege [yes/no]
+#cross cache [number]
+#quick mode [quickon/quickoff], default [quickoff]
+#For ip/intval/digest/compile/group
+#id name type
+#
+#For plugin table
+#id name type valid_column
+#
+#For expr/expr_plus Table
+#id name type src_charset dst_charset do_merge cross_cache quick_mode
+0 IR_STATIC_NOMINEE_IP plugin 15 --
+1 IR_DYNAMIC_NOMINEE_IP plugin 9 --
+2 IR_NOMINEE_IP plugin 5 --
+3 IR_CANDIDATE_IP plugin 19 --
+4 IR_INTERCEPT_IP plugin 14 --