-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathapplication.conf
More file actions
38 lines (31 loc) · 1.8 KB
/
application.conf
File metadata and controls
38 lines (31 loc) · 1.8 KB
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
######################################################
## Index Compaction Library Application Config File ##
######################################################
###########################################
## Required settings in application.conf ##
###########################################
# These settings are for Index Compaction Library's Compaction Job.
here.platform.index-compaction {
# Fully Qualified Class Name of 'CompactionUDF' interface implementation provided by the user.
# The class must be public and have a public constructor.
udf = com.here.platform.index.compaction.batch.ParquetCompactionExample
# Index Layer ID whose data is to be compacted.
layer = index
# These settings are for configuring the size of indexed files and compacted files.
file-size {
# The minimum acceptable byte size of an indexed file.
# If there are multiple indexed files having the same indexing attributes with size smaller than this value,
# then those files will be re-indexed in a single file.
min = 134217728 # 128 MB
# The maximum acceptable byte size of a compacted file.
# If the total size of multiple indexed files having the same indexing attributes exceeds this max file-size parameter,
# then the files will be compacted into more than one file with max file-size being honored.
max = 268435456 # 256 MB
}
query {
# For compaction, an entire index layer can be queried or a slice of an index layer based on timewindow, heretile, etc. can be queried.
# This property expects query constraint in RSQL format.
# Note that the compaction pipeline needs to be configured with appropriate resources so it can handle amount of data queried from index layer.
constraint = "size>0" # Eg. "tileId==78499;eventType==SignRecognition;ingestionTime==1588800000"
}
}