-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
98 lines (91 loc) · 1.69 KB
/
config.yaml
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
93
94
95
96
97
98
hub:
type: nats
protocols:
nats:
servers:
- localhost:4222
websockets:
servers:
- ws://localhost:4243
partitioning:
timePartition:
aggregationPeriodInMin: 10
maxCapacity: 100000
maxActivePartitions: 4
dataPartition:
# type: id
# type: idGroup
# groupSize: 10
type: geohash
hashLength: 5 # 4.9km x 4.9km
generator:
logging:
enabled: true
level: debug
instances: 1
httpPort: 7710
vehicleCount: 1500
maxNumberOfEvents: 5000000
refreshIntervalInSecs: 5
realtime: false
sendFlush: true
terminateCollector: true
startDate: '2024-01-01T00:00:00-05:00'
map:
topLeftOrigin:
# https://www.google.ca/maps/@45.6656598,-74.0651269,11.76z?entry=ttu
lat: 45.6656598
lon: -74.0651269
alt: 11.76
widthInKm: 40
heightInKm: 20
zoneSize:
widthInKm: 10
heightInKm: 10
vehicleTypes:
- Ambulance
- Audi
- Black_viper
- Car
- Mini_truck
- Mini_van
- Police
- taxi
- truck
collector:
logging:
enabled: true
level: debug
instances: 3
httpPort: 7720
geohashLength: 7 # 152.9m x 152.4m
eventStore:
type: noop # noop, memory, duckdb
output:
overwriteExistingFiles: false
flatLayout: true
formats:
- parquet
# - csv
# - arrow
storage:
# type: noop
# type: s3
# type: azure-blob
# containerName: events
type: file
folder: ../../output/data
finder:
logging:
enabled: true
level: info
instances: 5
httpPort: 7730
defaultTimeoutInMS: 30000
dataFormat: parquet
parallelSearch: true
useChunking: false
viewer:
logging:
enabled: true
level: debug