summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-07-19 18:20:04 +0800
committerluwenpeng <[email protected]>2024-07-19 18:57:57 +0800
commit2045d517cabbf7559e18367fa33b3a170143ef79 (patch)
tree15c70ad522c455c6b51622181442e12cea75f3e7 /conf
parent88a7a8c5c48f681cdd0478a809652ac94c2647ee (diff)
feature: TSG-21853 Refactoring TFE Kafka infrastructure
Diffstat (limited to 'conf')
-rw-r--r--conf/tfe/tfe.conf22
1 files changed, 10 insertions, 12 deletions
diff --git a/conf/tfe/tfe.conf b/conf/tfe/tfe.conf
index 4d56b0b..4f13b38 100644
--- a/conf/tfe/tfe.conf
+++ b/conf/tfe/tfe.conf
@@ -21,6 +21,11 @@ cpu_affinity_mask=1-9
# LEAST_CONN = 0; ROUND_ROBIN = 1
load_balance=1
+[public]
+vsys_id=1
+data_center=center-xxg-tsgx
+device_group=group-xxg-tsgx
+device_id=9800165603247024
# for enable kni v3
[nfq]
@@ -97,9 +102,6 @@ trusted_cert_dir=resource/tfe/trusted_storage
log_master_key=0
key_log_file=log/sslkeylog.log
-# mid cert cache
-mc_cache_enable=1
-
[key_keeper]
#Mode: debug - generate cert with ca_path, normal - generate cert with cert store
#0 on cache 1 off cache
@@ -184,16 +186,13 @@ http_keepalive_addr=192.168.41.60
http_keepalive_port=9273
[kafka]
-enable=1
-vsystem_id=1
-NIC_NAME=enp2s0
-kafka_brokerlist=192.168.40.224:9092
-logger_send_topic=PROXY-EVENT
-file_bucket_topic=TRAFFIC-FILE-STREAM-RECORD
-mc_cache_topic=PXY-EXCH-INTERMEDIA-CERT
+brokerlist=192.168.40.224:9092
sasl_username=admin
sasl_passwd=galaxy2019
-device_id_filepath=/opt/tsg/etc/tsg_sn.json
+rule_hits_topic=POLICY-RULE-METRIC
+proxy_event_topic=PROXY-EVENT
+file_stream_topic=TRAFFIC-FILE-STREAM-RECORD
+exch_cert_topic=PXY-EXCH-INTERMEDIA-CERT
[maat]
# 0:json 1:redis 2:iris
@@ -202,7 +201,6 @@ stat_switch=1
perf_switch=1
table_info=resource/pangu/table_info.conf
accept_path=/opt/tsg/etc/tsg_device_tag.json
-accept_tag_key=device_id
stat_file=log/pangu_scan.fs2
effect_interval_s=1
deferred_load_on=0