This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galaxy-tsg-olap-storm-log-s…/properties/service_flow_config.properties
2021-03-25 14:27:41 +08:00

97 lines
2.3 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#--------------------------------地址配置------------------------------#
#管理kafka地址
input.kafka.servers=192.168.44.12:9092
#管理输出kafka地址
output.kafka.servers=192.168.44.12:9092
#zookeeper 地址 用于配置log_id
zookeeper.servers=192.168.44.12:2181
#hbase zookeeper地址 用于连接HBase
hbase.zookeeper.servers=192.168.44.12:2181
#定位库地址
ip.library=D:\\K18-Phase2\\tsgSpace\\dat\\
#ip.library=/home/bigdata/topology/dat/
#网关的schema位置
schema.http=http://192.168.44.12:9999/metadata/schema/v1/fields/security_event_log
#kafka broker下的topic名称
#kafka.topic=CONNECTION-RECORD-LOG
kafka.topic=test
#读取topic,存储该spout id的消费offset信息可通过该拓扑命名;具体存储offset的位置确定下次读取不重复的数据
group.id=connection-record-log-20200818-1-test
#接收自kafka的消费者 client-id
consumer.client.id=consumer-connection-record
#回写给kafka的生产者 client-id
producer.client.id=producer-connection-record
#生产者压缩模式 none or snappy
producer.kafka.compression.type=snappy
#生产者ack
producer.ack=1
#latest/earliest 从当前消 or 从头消费
auto.offset.reset=latest
#输出topic
#results.output.topic=CONNECTION-RECORD-COMPLETED-LOG
results.output.topic=test-result
#--------------------------------topology配置------------------------------#
#storm topology workers
topology.workers=2
#spout并行度 建议与kafka分区数相同
spout.parallelism=3
#处理补全操作的bolt并行度-worker的倍数
completion.bolt.parallelism=6
#写入kafka的并行度10
kafka.bolt.parallelism=6
#ack设置 1启动ack 0不启动ack
topology.num.acks=0
#kafka批量条数
batch.insert.num=2000
#数据中心UID
data.center.id.num=15
#tick时钟频率
topology.tick.tuple.freq.secs=5
#hbase 更新时间
hbase.tick.tuple.freq.secs=60
#--------------------------------默认值配置------------------------------#
#当bolt性能受限时限制spout接收速度理论看ack开启才有效
topology.config.max.spout.pending=150000
#hbase table name
hbase.table.name=subscriber_info
#spout接收睡眠时间
topology.spout.sleep.time=1
#允许发送kafka最大失败数
max.failure.num=20
#邮件默认编码
mail.default.charset=UTF-8
#需不要补全,不需要则原样日志输出
log.need.complete=yes