forked from hortonworks-gallery/iot-truck-streaming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.properties
75 lines (62 loc) · 2.22 KB
/
config.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#################################
#### STREAM SIMULATOR CONFIG ####
#################################
#comma-separated list of kafka brokers
kafka.brokers=sandbox.hortonworks.com:6667
#Active MQ server
activemq.server.url=tcp://sandbox.hortonworks.com:61616
#######################
#### WEBAPP CONFIG ####
#######################
activemq.server=sandbox.hortonworks.com
activemq.port=61613
hbase.zookeeper.server=sandbox.hortonworks.com
######################################
#### STORM TOPOLOGY CONFIGURATION ####
######################################
# Notification Settings for email
notification.email=false
notification.email.address=user@host.com
notification.email.subject=Unsafe Driving Alerts
mail.smtp.host=sandbox.hortonworks.com
mail.smtp.port=25
# Notification Settings for AMQP topic
notification.topic=true
notification.topic.user=admin
notification.topic.password=admin
notification.topic.connection.url=tcp://sandbox.hortonworks.com:61616?wireFormat.maxInactivityDuration=0
notification.topic.alerts.name=driver_alert_notifications
notification.topic.events.name=driver_infraction_events
notification.all.events.notification.topic=true
notification.all.events.notification.topic.name=driver_events
# Kafka Spout Settings
kafka.zookeeper.host.port=sandbox.hortonworks.com:2181
kafka.topic=truck_events
kafka.zkRoot=
kafka.consumer.group.id=group1
#parallelism settings
spout.thread.count=5
bolt.thread.count=1
#storm topology settings
storm.trucker.topology.workers=4
#hdfs bolt settings
hdfs.path=/truck-events-v4
hdfs.url=hdfs://sandbox.hortonworks.com:8020
hdfs.file.prefix=truckEvents
hdfsbolt.thread.count=4
hdfs.file.rotation.time.minutes=5
#hbase bolt settings
hbase.persist.all.events=false
#hive settings
hive.metastore.url=thrift://sandbox.hortonworks.com:9083
hive.staging.table.name=truck_events_text_partition
hive.database.name=default
#prediction bolt settings
#possible values for prediction.engine are jpmml and mllib
prediction.engine=jpmml
prediction.topic.events.name=prediction_events
prediction.topic=true
drools.topic.events.name=drools_events
#storm's nimbus host (for storm submit) & supervisor servers list - supervisors are comma delimited list
nimbus.host=sandbox.hortonworks.com
supervisors=sandbox.hortonworks.com