2022-06-17 16:54:38 +08:00
|
|
|
|
#====================Kafka KafkaConsumer====================#
|
|
|
|
|
|
#kafka source connection timeout
|
|
|
|
|
|
session.timeout.ms=60000
|
|
|
|
|
|
|
|
|
|
|
|
#kafka source poll
|
|
|
|
|
|
max.poll.records=5000
|
|
|
|
|
|
|
|
|
|
|
|
#kafka source poll bytes
|
|
|
|
|
|
max.partition.fetch.bytes=31457280
|
|
|
|
|
|
#====================Kafka KafkaProducer====================#
|
|
|
|
|
|
#producer重试的次数设置
|
|
|
|
|
|
retries=0
|
|
|
|
|
|
|
|
|
|
|
|
#他的含义就是说一个Batch被创建之后,最多过多久,不管这个Batch有没有写满,都必须发送出去了
|
|
|
|
|
|
linger.ms=10
|
|
|
|
|
|
|
|
|
|
|
|
#如果在超时之前未收到响应,客户端将在必要时重新发送请求
|
|
|
|
|
|
request.timeout.ms=30000
|
|
|
|
|
|
|
|
|
|
|
|
#producer都是按照batch进行发送的,批次大小,默认:16384
|
2023-09-28 15:59:26 +08:00
|
|
|
|
batch.size=1048576
|
2022-06-17 16:54:38 +08:00
|
|
|
|
|
|
|
|
|
|
#Producer端用于缓存消息的缓冲区大小
|
|
|
|
|
|
#128M
|
|
|
|
|
|
buffer.memory=134217728
|
|
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#这个参数决定了每次发送给Kafka服务器请求的最大大小
|
|
|
|
|
|
#default: 10485760 = 10M
|
2022-06-17 16:54:38 +08:00
|
|
|
|
max.request.size=10485760
|
2023-09-28 15:59:26 +08:00
|
|
|
|
|
|
|
|
|
|
#producer ack
|
|
|
|
|
|
producer.ack=1
|
2022-06-17 16:54:38 +08:00
|
|
|
|
#====================kafka default====================#
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#kafka SASL/SSL username (encryption)
|
2022-06-17 16:54:38 +08:00
|
|
|
|
kafka.user=nsyGpHKGFA4KW0zro9MDdw==
|
|
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#kafka SASL/SSL pin (encryption)
|
2022-06-17 16:54:38 +08:00
|
|
|
|
kafka.pin=6MleDyA3Z73HSaXiKsDJ2k7Ys8YWLhEJ
|
|
|
|
|
|
|
|
|
|
|
|
#====================nacos default====================#
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#nacos username (encryption)
|
|
|
|
|
|
nacos.username=kANxu/Zi5rBnZVxa5zAjrQ==
|
|
|
|
|
|
|
|
|
|
|
|
#nacos pin (encryption)
|
|
|
|
|
|
nacos.pin=YPIBDIXjJUtVBjjk2op0Dg==
|
|
|
|
|
|
|
|
|
|
|
|
#nacos connection timeout default 60s
|
|
|
|
|
|
nacos.connection.timeout=60000
|
|
|
|
|
|
|
|
|
|
|
|
#nacos table schema use group
|
|
|
|
|
|
nacos.schema.group=Galaxy
|
|
|
|
|
|
|
|
|
|
|
|
#nacos public use group
|
|
|
|
|
|
nacos.public.group=DEFAULT_GROUP
|
|
|
|
|
|
|
|
|
|
|
|
#public namespace名称
|
|
|
|
|
|
nacos.public.namespace=
|
2022-06-17 16:54:38 +08:00
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#knowledgebase data id名称
|
|
|
|
|
|
nacos.knowledgebase.data.id=knowledge_base.json
|
|
|
|
|
|
|
|
|
|
|
|
#================= HTTP 配置 ====================#
|
|
|
|
|
|
#max connection
|
|
|
|
|
|
http.pool.max.connection=20
|
|
|
|
|
|
|
|
|
|
|
|
#one route max connection
|
|
|
|
|
|
http.pool.max.per.route=4
|
|
|
|
|
|
|
|
|
|
|
|
#connect timeout(ms)
|
|
|
|
|
|
http.pool.connect.timeout=30000
|
|
|
|
|
|
|
|
|
|
|
|
#request timeout(ms)
|
|
|
|
|
|
http.pool.request.timeout=90000
|
|
|
|
|
|
|
|
|
|
|
|
#response timeout(ms)
|
|
|
|
|
|
http.socket.timeout=90000
|
|
|
|
|
|
|
|
|
|
|
|
#====================HBase Default conf====================#
|
|
|
|
|
|
hbase.rpc.timeout=60000
|
2022-06-17 16:54:38 +08:00
|
|
|
|
|
|
|
|
|
|
#====================Topology Default====================#
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#hbase radius relation table name
|
|
|
|
|
|
hbase.radius.table.name=tsg_galaxy:relation_framedip_account
|
2022-06-17 16:54:38 +08:00
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#hbase gtpc relation table name
|
|
|
|
|
|
hbase.gtpc.table.name=tsg_galaxy:relation_user_teid
|
2022-06-17 16:54:38 +08:00
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#0 no-operation parse JSON directly.
|
|
|
|
|
|
#1 Check fields type with schema,Do some type conversion.
|
2022-06-17 16:54:38 +08:00
|
|
|
|
log.transform.type=1
|
|
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#Maximum time between two outputs(milliseconds)
|
|
|
|
|
|
buffer.timeout=-1
|
|
|
|
|
|
|
|
|
|
|
|
#The gtpc data scan max rows,0 = no limit.
|
|
|
|
|
|
hbase.gtpc.scan.max.rows=100000
|
|
|
|
|
|
|
|
|
|
|
|
#The radius data scan max rows,0 = no limit.
|
|
|
|
|
|
hbase.radius.scan.max.rows=100000
|
2022-06-17 16:54:38 +08:00
|
|
|
|
|
2023-09-28 15:59:26 +08:00
|
|
|
|
#Whether vsys_id is used as the relationship key between gtpc and radius.
|
|
|
|
|
|
#vsys or global
|
|
|
|
|
|
data.relationship.model=vsys
|