Skip to content

Update config pages for 4.3.1.4 - #635

Merged
vvlladd28 merged 2 commits into
mainfrom
update-config-pages
Aug 31, 2026
Merged

Update config pages for 4.3.1.4#635
vvlladd28 merged 2 commits into
mainfrom
update-config-pages

Conversation

@ViacheslavKlimov

Copy link
Copy Markdown
Member

Description

Type of change

  • New / updated documentation page (src/content/docs/**)
  • Shared include file (src/content/_includes/**)
  • Component, layout, or styling change (src/components/**, src/styles/**)
  • Landing / use-case / case-study page (src/pages/**, src/data/**)
  • Redirects (src/data/redirects.ts)
  • Version bump / release (see release skill)
  • Build, CI, scripts, or tooling
  • Other (please describe)

Affected products

Related issues

  • Closes #

Checklist

  • pnpm check passes (Astro / TypeScript)
  • pnpm lint:eslint passes
  • pnpm lint:slugcheck passes (required if pages were added/renamed/moved across languages)
  • pnpm lint:linkcheck passes locally — required to merge; run it before requesting review (use pnpm lint:linkcheck:nobuild if you already ran a build)
  • Renamed/removed pages have a redirect in src/data/redirects.ts, and pnpm generate:redirects was run
  • No hardcoded versions — values come from src/data/versions.ts
  • Screenshots attached for visual changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates ThingsBoard PE configuration reference docs to reflect new/updated configuration options associated with the 4.3.1.4 release line.

Changes:

  • Expanded database configuration documentation to include Citus (distributed PostgreSQL) settings and related operational sizing notes.
  • Added/updated cache-related configuration entries and clarified how Citus affects certain SQL batch threading settings.
  • Updated report service Kafka compression documentation to include lz4.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/content/docs/docs/pe/reference/configuration/report-service-config.mdx Updates Kafka compression type description to include lz4.
src/content/docs/docs/pe/reference/configuration/core-rule-engine-config.mdx Adds Citus-related database configuration entries and expands cache configuration documentation.
Suppressed comments (1)

src/content/docs/docs/pe/reference/configuration/core-rule-engine-config.mdx:747

  • This sentence now includes newly added Citus details; please also fix capitalization/punctuation to keep the config descriptions consistent and easier to scan.
    <p class="config-def-desc">batch thread count has to be a prime number like 3 or 5 to gain perfect hash distribution. When database.citus.enabled=true this is overridden by database.citus.shard&#95;count (see that property for pool sizing)</p>

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

<div class="config-def-item">
<p class="config-def-meta"><code class="config-def-env">TB&#95;KAFKA&#95;COMPRESSION&#95;TYPE</code> · <span class="config-def-label">Default</span> <code>none</code></p>
<p class="config-def-desc">none or gzip</p>
<p class="config-def-desc">none, gzip or lz4</p>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not actionable in this repo. This page is generated by scripts/generate_config_pages.py, and the description is taken verbatim from the inline comment on tb-report.yml:97 upstream (# none, gzip or lz4). An edit here would be reverted the next time the page is regenerated, so a punctuation change would need to be made in the thingsboard-pe repo.

## Database parameters

<Banner variant="pe">Selects the storage backend (SQL, Cassandra, or TimescaleDB) for time-series and latest telemetry data, and sets the maximum query intervals.</Banner>
<Banner variant="pe">Selects the storage backend (SQL, Cassandra, or TimescaleDB) for time-series and latest telemetry data and the maximum query intervals,<br /> and configures optional Citus (distributed PostgreSQL) support.</Banner>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in 8df625f — in the generator rather than the page.

These pages are generated by scripts/generate_config_pages.py, and the <br /> was not authored here: generate_section joined every line of the source YAML comment with <br />, so this description (thingsboard.yml:328-329, which merely soft-wraps mid-sentence) got a line break in the middle of the clause. The generator now breaks only at sentence boundaries, and the page was regenerated from release/license/4.3.

<div class="config-def-item">
<p class="config-def-meta"><code class="config-def-env">SQL&#95;ATTRIBUTES&#95;BATCH&#95;THREADS</code> · <span class="config-def-label">Default</span> <code>3</code></p>
<p class="config-def-desc">batch thread count has to be a prime number like 3 or 5 to gain perfect hash distribution</p>
<p class="config-def-desc">batch thread count has to be a prime number like 3 or 5 to gain perfect hash distribution. When database.citus.enabled=true this is overridden by database.citus.shard&#95;count (see that property for pool sizing)</p>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Same as the lz4 comment: this page is generated, and the description is verbatim from the inline comment on thingsboard.yml:523 upstream (and :536 for the line 747 occurrence). Editing it here would be reverted on the next regeneration.

Worth noting the lowercase style is consistent across all five batch_threads properties upstream, so it reads as deliberate rather than a slip — a change would belong in thingsboard-pe and should cover all five together.

Section banners joined every line of the source YAML comment with <br />,
so a comment that merely soft-wraps mid-sentence rendered with a line break
in the middle of a clause. A line now continues the previous one unless it
starts a new sentence.

- Add _join_description_lines to generate_config_pages.py (PR #635)
- Regenerate the PE core and rule engine config page from release/license/4.3

Claude-Session: https://claude.ai/code/session_018dTDP6H5jC98e2QFZ5GgXG
@vvlladd28
vvlladd28 merged commit ae7cbd5 into main Aug 31, 2026
4 of 5 checks passed
@vvlladd28
vvlladd28 deleted the update-config-pages branch August 31, 2026 12:34
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.

3 participants