123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- [CONFIG]
- project_name = eip_feed_behave
- ;project_name = eip_ai_asgi_py387
- headers = {"content-Type": "application/json"}
- authentication = {
- "hezhiguo": "hezhiguo",
- "eip-ai": "eip-ai"
- }
- ; dev: 开发(组内自测):redis-6379
- ; test: 测试环境, ES index 不同
- ; pro:预发、生产
- start_model = dev
- [LOG]
- ; 绝对路径
- log_path = ../logs/eip_feed_behave/info_rec.log
- ; h、d、m、s,时、天、分、秒
- when = d
- backupCount = 30
- [PROJECT-DEV]
- host = 0.0.0.0:8089
- [PROJECT-TEST]
- host = 0.0.0.0:8088
- [PROJECT-PRO]
- host = 0.0.0.0:80
- [ES-DEV]
- host = 10.10.3.83:9200
- fc_host = 10.10.3.83:9200,10.10.100.198:9200
- user = eip
- pwd = eip-pass
- index = zdfx_item_test
- ;fc_index = hippo_text_doc_27_515
- fc_index = hippo_text_doc_321_0615
- timeout = 60
- [ES-TEST]
- host = 10.10.3.83:9200
- fc_host = 10.10.3.83:9200,10.10.100.198:9200
- user = eip
- pwd = eip-pass
- index = zdfx_item_test
- ;fc_index = hippo_text_doc_27_515
- fc_index = hippo_text_doc_321_0615
- timeout = 60
- [ES-PRO]
- host = 10.10.3.83:9200
- fc_host = 10.10.3.83:9200,10.10.100.198:9200
- user = eip
- pwd = eip-pass
- index = eip_inference_feed_item
- ;fc_index = hippo_text_doc_27_515
- fc_index = hippo_text_doc_321_0615
- timeout = 60
- [MYSQL-PRO]
- url = mysql+mysqlconnector://root:qwertyuiop@10.10.100.228:8137/eip_ai?auth_plugin=mysql_native_password
- hit_log_table = eip_ai_hit_log
- [REDIS-DEV]
- host = 127.0.0.1
- port = 6379
- db = 0
- expire = 1000
- host_bak = 127.0.0.1
- port_bak = 6379
- db_bak = 15
- expire_bak = 1000
- pool_size = 10
- users = {
- "hezhiguo": "hezhiguo",
- "eip-ai": "eip-ai"
- }
- [REDIS-TEST]
- host = 127.0.0.1
- port = 6379
- db = 0
- expire = 1000
- host_bak = 127.0.0.1
- port_bak = 6379
- db_bak = 15
- expire_bak = 1000
- pool_size = 10
- users = {
- "hezhiguo": "hezhiguo",
- "eip-ai": "eip-ai"
- }
- [REDIS-PRO]
- host = 127.0.0.1
- port = 6379
- db = 0
- expire = 1000
- host_bak = 127.0.0.1
- port_bak = 6379
- db_bak = 15
- expire_bak = 1000
- pool_size = 10
- users = {
- "hezhiguo": "hezhiguo",
- "eip-ai": "eip-ai"
- }
- [KAFKA_BEHAVIOR-DEV]
- user_name = eip-ai
- dept_name = eip-ai
- host = 1.kafka.adh:9092,2.kafka.adh:9092,3.kafka.adh:9092,4.kafka.adh:9092,5.kafka.adh:9092,6.kafka.adh:9092,7.kafka.adh:9092
- topic = log_server_stream
- is_cluster = 0
- reset_offset_on_start = 0
- fetch_wait_max_ms = 30000
- queued_max_messages = 2000
- [KAFKA_BEHAVIOR-TEST]
- user_name = eip-ai
- dept_name = eip-ai
- host = 1.kafka.adh:9092,2.kafka.adh:9092,3.kafka.adh:9092,4.kafka.adh:9092,5.kafka.adh:9092,6.kafka.adh:9092,7.kafka.adh:9092
- topic = log_server_stream
- is_cluster = 0
- reset_offset_on_start = 0
- fetch_wait_max_ms = 30000
- queued_max_messages = 2000
- [KAFKA_BEHAVIOR-PRO]
- user_name = eip-ai
- dept_name = eip-ai
- host = 1.kafka.adh:9092,2.kafka.adh:9092,3.kafka.adh:9092,4.kafka.adh:9092,5.kafka.adh:9092,6.kafka.adh:9092,7.kafka.adh:9092
- topic = log_server_stream
- is_cluster = 0
- reset_offset_on_start = 0
- fetch_wait_max_ms = 30000
- queued_max_messages = 2000
- [BEHAVIOR_API-DEV]
- url = http://115.159.79.118:20001/log/mlamp/eip/dw/EIP/ABRS/behavior_test
- ;url = http://192.168.64.20:5000/abrs_update
- [BEHAVIOR_API-TEST]
- url = http://115.159.79.118:20001/log/mlamp/eip/dw/EIP/ABRS/behavior_test
- ;url = http://192.168.64.20:5000/abrs_update
- [BEHAVIOR_API-PRO]
- url = http://115.159.79.118:20001/log/mlamp/eip/dw/EIP/ABRS/behavior
- [BLOOM_FILTER]
- ;盐值;
- SALTS = ("1", "2", "3", "4")
- ;length; 长度必须小于 alts 长度,且在 3个以上
- SALTS_LEN_LESS_1 = 3
- ;hash list; 2**9 * 2**20 * 2**3 # 512MB*1024*1024*8 :MB->bit位
- hash_list = 4294967296
- hash_func_name = md5
- [BEHAVE-DEV]
- kafka_server = eip-kafka-2.qa.mlamp.cn
- [BEHAVE-PRO]
- kafka_server = eip-ckafka-3.mlamp.cn
|