summaryrefslogtreecommitdiff
path: root/config/storm_config.properties
diff options
context:
space:
mode:
authorcaohui <[email protected]>2020-04-29 14:32:05 +0800
committercaohui <[email protected]>2020-04-29 14:32:05 +0800
commitd15d7536f385ec4a1250ed15ed52fd6c05eb7431 (patch)
tree737ec8462ef62ac70caeee1533cbee4e76ceef98 /config/storm_config.properties
VoIP Knowledge Base sip-voip-completion Initial commit 202004291431HEADmaster
Diffstat (limited to 'config/storm_config.properties')
-rw-r--r--config/storm_config.properties51
1 files changed, 51 insertions, 0 deletions
diff --git a/config/storm_config.properties b/config/storm_config.properties
new file mode 100644
index 0000000..261546c
--- /dev/null
+++ b/config/storm_config.properties
@@ -0,0 +1,51 @@
+#storm topology workers
+#topology.workers=30
+#总核数
+## ZX
+topology.workers=34
+## HY
+#topology.workers=20
+## XXG
+#topology.workers=5
+
+
+#通联topic消费并行度
+spout.parallelism=16
+
+#FromSpoutBufferBoltDC并行度
+buffer.bolt.parallelism=30
+
+#GetSipOriBoltDC并行度
+format.bolt.parallelism=300
+
+#SipInsertBoltDC并行度
+database.bolt.parallelism=30
+
+#SipRealTimeCountBoltDC并行度
+count.bolt.parallelism=30
+
+#SipRealTimeMergeBoltDC并行度
+merge.bolt.parallelism=8
+
+
+#0:feild group, 1:shuffle group
+group.strategy=1
+#group.strategy=0
+
+#tick时钟频率,GetSipOriBoltDC
+topology.tick.tuple.comp.freq.secs=30
+
+#tick时钟频率,SipInsertBoltDC
+topology.tick.tuple.freq.secs=300
+
+#tick时钟频率,SipRealTimeCountBoltDC
+topology.tick.tuple.count.freq.secs=60
+
+#tick时钟频率,SipRealTimeMergeBoltDC
+topology.tick.tuple.merge.freq.secs=600
+
+
+#topology.config.max.spout.pending=300000
+topology.config.max.spout.pending=500000
+
+topology.num.acks=0