-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.conf
92 lines (86 loc) · 2.26 KB
/
application.conf
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
webserver {
actorSystem {
name = "interface",
port = 9999
},
queryPubsubActorName = "qpubsub",
resultPubsubActorName = "rpubsub",
hostname = "localhost",
//hostname = "mc05.cs.purdue.edu",
port = 9990,
data {
dir="/Users/qadahtm/Research/MM/Data",
freq = 200, // 100 miliseconds
//trips-type = "trips",
//trips = "/Users/qadahtm/Research/MM/Data/BerlinMOD_0_2_CSV_new/trips.csv",
trips-type = "updates",
trips = "/Users/qadahtm/Research/MM/Data/trips05.csv",
queries = "/Users/qadahtm/Research/MM/Data/BerlinMOD_0_2_CSV_new/queryregions.csv",
twitter.queries.range = "queries/us_twitter_queries-range-100.csv",
twitter.queries.knn = "queries/us_twitter_queries-knn-100.csv",
sampleTweets = "data/sample_tweets.csv"
}
},
twitterApi {
feeder {
hostname = "localhost",
port = 9998,
name = "inputTweets",
actorSystemName = "twitterLive",
},
location.filter {
maxLat = 90,
maxLng = 180,
minLat = -90,
minLng = -180
}
consumerKey = "Qz7KrhByudgnQI54Xhqmg",
consumerSecret = "5PCZKHOAAjJ3ymUqs8LdSxbLS2KcYTEVknWu7YW9Y7I",
accessToken = "262688354-SFBcWuaUsw7ZvBRQ4vGFAaNp3LM7xVKiGucqltVM",
accessTokenSecret = "ezT3YcR6aNLE4JEG8y6at85UiWKnYAYFRRTUWEEyzI",
},
kafka {
enabled = false,
zk = "localhost:2181",
producer {
broker-list = "localhost:9092",
topic = "queries"
},
consumer {
cgroup = "webui",
actorCheckRate = 500, // rate for checking for consumed messages from Kafka in milliseconds
statusUpdateRate = 3000, // rate for printing status messages in milliseconds
topic = "output"
},
topics {
queries = "queries",
output = "output",
hotspots = "hotspot",
adaptiveIndexUpdates = "adapindex"
}
test {
producer.datafile = "data/jsonTrace.txt",
producer.topic = "output",
producer.rate = 2000 // in milliseconds
}
},
data {
berlinmod-dir = "/scratch2/aaly/BerlinMOD_output/",
twitter-dir = "/scratch2/aaly/brian/tweet_us/",
adaptiveIndexMock = "data/PartitionsJSON_LargDataFile.txt"
},
benchmark.queries{
// US
// north=49.26780455063753&west=-125.33203125&south=25.562265014427492&east=-66.44531250000000
maxLat = 49.26780455063753,
maxLng = -66.44531250000000,
minLat = 25.562265014427492,
minLng = -125.33203125,
range {
maxWidth = 2.0,
maxHeight = 2.0
},
knn {
maxK = 5
}
}