-
Notifications
You must be signed in to change notification settings - Fork 13
/
PravegaSensorCollectorApp.xml
44 lines (36 loc) · 2.37 KB
/
PravegaSensorCollectorApp.xml
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
<!--
Copyright (c) Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
-->
<service>
<id>psc</id>
<name>Pravega Sensor Collector</name>
<description>Pravega Sensor Collector collects data from sensors and ingests the data into Pravega streams</description>
<executable>"C:/Program Files/Java/jdk-11/bin/java"</executable>
<arguments>-Xmx512m -jar "windows-service\PSCFiles\pravega-sensor-collector-0.2.15.jar"</arguments>
<!-- old log files are truncated when service restarts. Can change logmode to append, roll-by-size and roll-by-time -->
<logmode>reset</logmode>
<env name="HOME" value="C:\Users\username" />
<env name="CREATE_SCOPE" value="false" />
<env name="ROUTING_KEY" value="routingkey1" />
<env name="ENABLE_PRAVEGA" value="true" />
<env name="pravega_client_auth_method" value="Bearer" />
<env name="pravega_client_auth_loadDynamic" value="true" />
<env name="KEYCLOAK_SERVICE_ACCOUNT_FILE" value="\opt\pravega-sensor-collector\windows-service\PSCFiles\keycloak.json" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_CLASS" value="io.pravega.sensor.collector.file.rawfile.RawFileIngestService" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_FILE_SPEC" value="\opt\pravega-sensor-collector\Files" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_FILE_EXTENSION" value="parquet" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_DATABASE_FILE" value="\opt\pravega-sensor-collector\windows-service\PSCFiles\datafile.db" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_PRAVEGA_CONTROLLER_URI" value="tls://pravega-controller.sdp.cluster1.sdp-demo.org:443" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_SCOPE" value="project1" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_STREAM" value="stream1" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_ROUTING_KEY" value="routingkey1" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_DELETE_COMPLETED_FILES" value="false" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_TRANSACTION_TIMEOUT_MINUTES" value="2.0" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_CREATE_SCOPE" value="false" />
<env name="PRAVEGA_SENSOR_COLLECTOR_RAW1_MIN_TIME_IN_MILLIS_TO_UPDATE_FILE" value="5000" />
<onfailure action="restart"/>
</service>