thingsboard.github.io icon indicating copy to clipboard operation
thingsboard.github.io copied to clipboard

update install docs for JDK17

Open trikimiki opened this issue 1 year ago • 2 comments

PR description

Updated all installation options to ensure it is compatible with Java 17. Additionally, updated HAProxy installs, and changed all Kafka images to Bitnami. Every installation option affected was tested.

Link checker

The links will be checked by the build agent automatically once you create or update your PR.

You can use the following command to check the broken links locally.

docker run --rm -it --network=host --name=linkchecker ghcr.io/linkchecker/linkchecker --check-extern --no-warnings http://0.0.0.0:4000/

trikimiki avatar May 14 '24 12:05 trikimiki

for kafka, I have removed the following params

      KAFKA_CFG_LOG_RETENTION_BYTES: "1073741824"
      KAFKA_CFG_SEGMENT_BYTES: "268435456"
      KAFKA_CFG_LOG_RETENTION_MS: "300000"
      KAFKA_CFG_LOG_CLEANUP_POLICY: "delete"

these were migrated from docker compose deployment, but actually are not required; everything retention-related is set upon topic creation by TB, and configured on TB application side - e.g.

TB_QUEUE_KAFKA_CORE_TOPIC_PROPERTIES: "retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;partitions:1;min.insync.replicas:1"

following was left for backward-compatibility: some older TB versions did not set min.insync.replicas in TOPIC_PROPERTIES

      KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: "1"

following was left to ensure replication factor "1" is honored (as a single kafka node is deployed)

      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: "1"
      KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: "1"

trikimiki avatar May 16 '24 11:05 trikimiki

fb9da63 as per suggestion

trikimiki avatar May 16 '24 12:05 trikimiki