Configuring Phirestream
Phirestream's settings file is located at /opt/phirestream/config/application.properties
. The settings that can be set in this file are described below.
Phirestream must be restarted after modifying any of the settings. You can restart Phirestream with the following command:
HTTP Listener Settings
Setting | Description | Valid Values | Default Value |
---|---|---|---|
| The interface on which the HTTP server listens. By default it listens on all interfaces. | Valid IP address | 0.0.0.0 |
| The port on which the HTTP server listens. | Valid port number | 8080 |
HTTPS Listener
Configure the following settings to enable an HTTPS listener with one-way authentication.
Setting | Description | Valid Values | Default Value |
---|---|---|---|
| Whether or not to enable HTTPS | true or false | false |
| The path to the keystore. | Valid file path. | |
| The keystore password. | Valid password. | |
| The path to the truststore. | Valid file path. | |
| The truthstore password. | Valid file path. | |
| Whether or not client certificates are required, requested, or ignored. | required, requested, or none |
HTTPS Client Authentication
Configure the following settings to enable HTTPS client (two-way) authentication.
Setting | Description | Valid Values |
---|---|---|
| The path to the truststore. | Valid file path. |
| The truststore password. | Valid password. |
| Whether or not client certificates are required, requested, or ignored. | required, requested, or none |
Apache Kafka Client Settings
Setting | Description |
---|---|
| The location of the downstream Apache Kafka brokers. |
| The number of acknowledgments Phirestream must receive before considering the request complete. |
Other Apache Kafka client configuration settings can be set by adding the prefix kafka. to the setting name. For example, if the Apache Kafka broker is using an SSL listener you can set the ssl.key.password setting by using kafka.ssl.key.password
. Refer to the Producer Configuration options for the available settings.