Advanced Log Stream Properties
You can use the following advanced properties to customize the run-time behavior of the log stream service.
Apply advanced settings to the log stream by updating the appVersion=v2
properties in the linkpro-app.properties
file. If the linkpro-app.properties
file is not present at the specified location, create the file manually.
<cloud_connector_install_dir>/linkpro/config/linkpro-app.properties
flink.kafka.offset.reset
You can control how the application reads data from Kafka after application restarts or recovers from failure.
Allowed Values | Description |
---|---|
committed_earliest | Resumes from the last committed offset of Kafka. If unavailable due to Kafka retention policies, the application reads from the earliest available offset. |
committed_latest | Resumes from the last committed offset of Kafka. If unavailable, the application reads from the latest available offset. |
earliest | Reads from the earliest available offsets of Kafka, ignoring committed offsets. |
latest | Reads from the latest available offsets of Kafka, ensuring only new logs are processed after a restart or failure. |
-
Default Value.
committed_latest
-
Example Entry.
flink.kafka.offset.reset=committed_earliest
linkpro.syslog.retryAttempts
You can define how many times the application will retry sending logs to the syslog server if network interruptions or connection failures occur. This setting ensures logs are not lost due to temporary network instability.
-
Default Value.
3
-
Sample Values.
2
to9
-
Example Entry.
linkpro.syslog.retryAttempts=3
flink.management.ui.port
You can specify the port for accessing the flink dashboard UI. The dashboard provides real-time visibility into the ongoing log stream Jobs.
-
Default Value.
9091
-
Sample Values.
9091
,9092
,9093
-
Example Entry.
flink.management.ui.port=9091
NOTE: For assistance in setting up the advanced log stream properties, contact Skyhigh Support.