Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update install docs for JDK17 #1479

Merged
merged 9 commits into from
Jun 13, 2024
Merged

Conversation

trikimiki
Copy link
Member

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/

# Configure the database to start automatically when OS starts.
sudo chkconfig cassandra on
```
Please follow [official Apache Cassandra installation guide](https://cassandra.apache.org/doc/latest/cassandra/installing/installing.html).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trikimiki
Copy link
Member Author

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
Copy link
Member Author

fb9da63 as per suggestion

@ashvayka ashvayka merged commit 45f7203 into thingsboard:develop/3.7 Jun 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants