diff options
Diffstat (limited to 'properties/default_config.properties')
| -rw-r--r-- | properties/default_config.properties | 88 |
1 files changed, 63 insertions, 25 deletions
diff --git a/properties/default_config.properties b/properties/default_config.properties index 365e1c6..c995f5e 100644 --- a/properties/default_config.properties +++ b/properties/default_config.properties @@ -18,48 +18,86 @@ linger.ms=10 request.timeout.ms=30000 #producer都是按照batch进行发送的,批次大小,默认:16384 -batch.size=262144 +batch.size=1048576 #Producer端用于缓存消息的缓冲区大小 #128M buffer.memory=134217728 -#这个参数决定了每次发送给Kafka服务器请求的最大大小,默认1048576 -#10M +#这个参数决定了每次发送给Kafka服务器请求的最大大小 +#default: 10485760 = 10M max.request.size=10485760 + +#producer ack +producer.ack=1 #====================kafka default====================# -#kafka SASL验证用户名-加密 +#kafka SASL/SSL username (encryption) kafka.user=nsyGpHKGFA4KW0zro9MDdw== -#kafka SASL及SSL验证密码-加密 +#kafka SASL/SSL pin (encryption) kafka.pin=6MleDyA3Z73HSaXiKsDJ2k7Ys8YWLhEJ -#生产者ack -producer.ack=1 #====================nacos default====================# -#nacos username -nacos.username=nacos +#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= -#nacos password -nacos.pin=nacos +#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 -#nacos group -nacos.group=Galaxy #====================Topology Default====================# -#hbase table name -hbase.table.name=tsg_galaxy:relation_framedip_account +#hbase radius relation table name +hbase.radius.table.name=tsg_galaxy:relation_framedip_account -#邮件默认编码 -mail.default.charset=UTF-8 +#hbase gtpc relation table name +hbase.gtpc.table.name=tsg_galaxy:relation_user_teid -#0不做任何校验,1弱类型校验 +#0 no-operation parse JSON directly. +#1 Check fields type with schema,Do some type conversion. log.transform.type=1 -#两个输出之间的最大时间(单位milliseconds) -buffer.timeout=5000 -#====================临时配置-待删除====================# -#网关APP_ID 获取接口 -app.id.http=http://192.168.44.67:9999/open-api/appDicList +#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 -#app_id 更新时间,如填写0则不更新缓存 -app.tick.tuple.freq.secs=0
\ No newline at end of file +#Whether vsys_id is used as the relationship key between gtpc and radius. +#vsys or global +data.relationship.model=vsys
\ No newline at end of file |
