[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