Skip to content

Latest commit

 

History

History
79 lines (51 loc) · 2.37 KB

README.adoc

File metadata and controls

79 lines (51 loc) · 2.37 KB

Example RELP Server

Build with

mvn clean package

Run with

java -jar rlp_07.jar

Listens to plain server port 1601 by default and prints received events.

Port can be changed with "-Dport=1234" command-line argument.

TLS mode can be enabled with "-Dtls=true" command-line argument.

Custom server keystore can be supplied with "-DtlsKeystore=path/to/file.jks".

Custom server keystore password can be supplied with "-DtlsKeystorePassword=MyCustomPassword".

Internal component logging levels can be managed with "-Dloglevel=INFO". You can read more about logging levels here.

java -Dlog4j.configurationFile=log4j2.xml -jar rlp_07.jar

Running the container

You can run the prebuilt container by simply running:

docker run -ti --rm ghcr.io/teragrep/rlp_07/app:latest

The container respects the following environment variables

Environment variable Property equivalent

RLP_07_PORT=1243

-Dport=1234

RLP_07_TLS=false

-Dtls=false

RLP_07_TLS_KEYSTORE=/keystore.jks

-DtlsKeystore=/keystore.jks

RLP_07_TLS_KEYSTOREPASSWORD=changeit

-DtlsKeystorePassword=changeit

RLP_07_LOGLEVEL=INFO

-Dloglevel=INFO

Contributing

You can involve yourself with our project by opening an issue or submitting a pull request.

Contribution requirements:

  1. All changes must be accompanied by a new or changed test. If you think testing is not required in your pull request, include a sufficient explanation as why you think so.

  2. Security checks must pass

  3. Pull requests must align with the principles and values of extreme programming.

  4. Pull requests must follow the principles of Object Thinking and Elegant Objects (EO).

Read more in our Contributing Guideline.

Contributor License Agreement

Contributors must sign Teragrep Contributor License Agreement before a pull request is accepted to organization’s repositories.

You need to submit the CLA only once. After submitting the CLA you can contribute to all Teragrep’s repositories.