Skip to content

Conversation

paulohtb6
Copy link
Collaborator

@paulohtb6 paulohtb6 commented Sep 11, 2025

Description

Resolves https://redpandadata.atlassian.net/browse/DOC-1647
Review deadline: 15th Sept

Page previews

https://deploy-preview-1353--redpanda-docs-preview.netlify.app/current/reference/properties/topic-properties/

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@paulohtb6 paulohtb6 requested a review from a team as a code owner September 11, 2025 14:58
Copy link

netlify bot commented Sep 11, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 9fcdd46
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/68c41dfeef4572000881b132
😎 Deploy Preview https://deploy-preview-1353--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

coderabbitai bot commented Sep 11, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The Topic Properties reference was updated to add and clarify several properties:

  • Added redpanda.remote.allowgaps topic-level property and its override behavior relative to cloud_storage_enable_remote_allow_gaps.
  • Clarified retention.local.target.bytes applies per-partition in Tiered Storage and aligns with retention.bytes without Tiered Storage.
  • Introduced Schema Registry and validation properties for key/value subject strategies and schema ID validation, including confluent.* aliases.
  • Added cross-references to Server-Side Schema ID Validation docs.
  • Noted that Virtual cluster functionality requires multiplexing extensions.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Producer
  participant Broker as Redpanda Broker
  participant Obj as Object Storage

  rect rgb(245,245,250)
    note over Broker: Tiered Storage upload paused
    Producer->>Broker: Produce messages
    alt redpanda.remote.allowgaps=false (default)
      Broker->>Obj: Upload completed segments (when possible)
      note over Broker: Evict only uploaded data
      Broker-->>Producer: Throttle if local target would overflow
    else redpanda.remote.allowgaps=true
      note over Broker: May evict local segments not yet uploaded
      note over Broker: Potential offset gaps locally
      Broker-->>Producer: Continue (reduced throttling)
    end
  end
Loading
sequenceDiagram
  autonumber
  actor Producer
  participant Broker as Redpanda Broker
  participant SR as Schema Registry

  rect rgb(245,245,250)
    note over Broker: Server-side schema ID validation (new props)
    Producer->>Broker: Produce(record with key/value schemas)
    alt key schema validation enabled
      Broker->>SR: Validate key schema ID (subject strategy)
      SR-->>Broker: OK/Fail
    end
    alt value schema validation enabled
      Broker->>SR: Validate value schema ID (subject strategy)
      SR-->>Broker: OK/Fail
    end
    opt confluent.* aliases
      note over Broker: Mapped to redpanda.* validation/strategy
    end
    Broker-->>Producer: Ack or Error
  end
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10–15 minutes

Possibly related PRs

  • Topic props #1337: Also updates topic-properties documentation around Tiered Storage and redpanda.remote.* settings; overlaps with properties and explanations added here.

Suggested reviewers

  • nvartolomei
  • Feediver1
  • kbatuigas

Pre-merge checks (4 passed, 1 warning)

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Linked Issues Check ⚠️ Warning The changes add redpanda.remote.allowgaps and the schema-registry/validation topic properties with confluent.* aliases, addressing most functional items from DOC-1647, but the two functional properties redpanda.virtual.cluster.id and redpanda.cloud_topic.enabled are not documented in the provided changeset, so the linked-issue requirements are not fully met. Add documentation entries for redpanda.virtual.cluster.id and redpanda.cloud_topic.enabled (including defaults, behavior, and any prerequisites such as multiplexing), update the topic-properties page accordingly, and update the PR description/page previews to show where those entries were added so DOC-1647 is fully satisfied.
✅ Passed checks (4 passed)
Check name Status Explanation
Title Check ✅ Passed The title "Add missing properties in reference" succinctly and accurately describes the primary change (adding missing topic properties to the reference docs) and is concise without noise or unrelated detail.
Out of Scope Changes Check ✅ Passed All modifications appear confined to the topic-properties reference page and relate directly to documenting missing topic properties and clarifying retention/Tiered Storage behavior, so there are no obvious out-of-scope or unrelated file changes in this PR.
Description Check ✅ Passed The PR description includes the required Jira reference (DOC-1647), a review deadline, and the Checks section, so it follows the repository template in essential parts; however the Page previews block is empty and the description lacks a brief summary or list of the changed pages.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

Pre-merge checks (4 passed, 1 warning)

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Linked Issues Check ⚠️ Warning The changes add redpanda.remote.allowgaps and the schema-registry/validation topic properties with confluent.* aliases, addressing most functional items from DOC-1647, but the two functional properties redpanda.virtual.cluster.id and redpanda.cloud_topic.enabled are not documented in the provided changeset, so the linked-issue requirements are not fully met. Add documentation entries for redpanda.virtual.cluster.id and redpanda.cloud_topic.enabled (including defaults, behavior, and any prerequisites such as multiplexing), update the topic-properties page accordingly, and update the PR description/page previews to show where those entries were added so DOC-1647 is fully satisfied.
✅ Passed checks (4 passed)
Check name Status Explanation
Title Check ✅ Passed The title "Add missing properties in reference" succinctly and accurately describes the primary change (adding missing topic properties to the reference docs) and is concise without noise or unrelated detail.
Out of Scope Changes Check ✅ Passed All modifications appear confined to the topic-properties reference page and relate directly to documenting missing topic properties and clarifying retention/Tiered Storage behavior, so there are no obvious out-of-scope or unrelated file changes in this PR.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed The PR description follows the repository template: it includes the Jira ticket (DOC-1647), a review deadline, a Netlify page preview URL pointing at the changed topic-properties page, and the Checks section with Content gap selected. The required template headings and fields are present and relevant to the change set. A minor non-blocking suggestion is to use an unambiguous full date format for the review deadline (for example, "September 15, 2025") to avoid ambiguity.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch topic-props2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
modules/reference/pages/properties/topic-properties.adoc (1)

763-887: Schema validation properties look good; tighten cross-references and confirm accepted values.

  • Convert inline property mentions to cross-refs for easier navigation.
  • Confirm the subject-name strategy value lists are exhaustive for both Redpanda and Confluent aliases.

Apply this diff to add cross-refs:

-=== redpanda.key.subject.name.strategy
+=== redpanda.key.subject.name.strategy
@@
-The subject name strategy for keys when `redpanda.key.schema.id.validation` is enabled.
+The subject name strategy for keys when <<redpandakeyschemavalidation,`redpanda.key.schema.id.validation`>> is enabled.
@@
-=== redpanda.value.subject.name.strategy
+=== redpanda.value.subject.name.strategy
@@
-The subject name strategy for values when `redpanda.value.schema.id.validation` is enabled.
+The subject name strategy for values when <<redpandavalueschemavalidation,`redpanda.value.schema.id.validation`>> is enabled.
@@
-=== confluent.key.subject.name.strategy
+=== confluent.key.subject.name.strategy
@@
-The subject name strategy for keys when `confluent.key.schema.validation` is enabled.
+The subject name strategy for keys when <<confluentkeyschemavalidation,`confluent.key.schema.validation`>> is enabled.
@@
-=== confluent.value.subject.name.strategy
+=== confluent.value.subject.name.strategy
@@
-The subject name strategy for values when `confluent.value.schema.validation` is enabled.
+The subject name strategy for values when <<confluentvalueschemavalidation,`confluent.value.schema.validation`>> is enabled.

To verify accepted values and defaults against current product behavior, please confirm with engineering or latest docs. If helpful, I can draft a web query.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 3ceb3e0 and b34a572.

📒 Files selected for processing (1)
  • modules/reference/pages/properties/topic-properties.adoc (2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: Feediver1
PR: redpanda-data/docs#1153
File: modules/reference/pages/properties/topic-properties.adoc:45-50
Timestamp: 2025-07-16T19:33:20.420Z
Learning: In the Redpanda documentation, topic property cross-references like <<max.compaction.lag.ms>> and <<min.compaction.lag.ms>> require corresponding property definition sections with anchors like [[maxcompactionlagms]] and [[mincompactionlagms]] to prevent broken links.
📚 Learning: 2025-07-16T19:33:20.420Z
Learnt from: Feediver1
PR: redpanda-data/docs#1153
File: modules/reference/pages/properties/topic-properties.adoc:45-50
Timestamp: 2025-07-16T19:33:20.420Z
Learning: In the Redpanda documentation, topic property cross-references like <<max.compaction.lag.ms>> and <<min.compaction.lag.ms>> require corresponding property definition sections with anchors like [[maxcompactionlagms]] and [[mincompactionlagms]] to prevent broken links.

Applied to files:

  • modules/reference/pages/properties/topic-properties.adoc
🔇 Additional comments (2)
modules/reference/pages/properties/topic-properties.adoc (2)

760-761: LGTM: Added related topic for Iceberg lag property.

Minor doc improvement; no issues.


889-889: Remove dangling bullet and add two missing topic properties

  • Remove the dangling bullet in modules/reference/pages/properties/topic-properties.adoc (line ~889). Apply diff:
-- Virtual cluster functionality (requires enabling multiplexing extensions)
  • Add full sections (with anchors, Type, Default, description, and any cluster-property mappings) for:

    • redpanda.virtual.cluster.id
    • redpanda.cloud_topic.enabled
  • Note: I did not find these two properties in topic-properties.adoc. cluster-properties.adoc contains a related flag development_enable_cloud_topics (modules/reference/pages/properties/cluster-properties.adoc:1232,1234) and mentions cloud-topic retention at :5246 — confirm whether redpanda.cloud_topic.enabled should map to that entry and provide authoritative names, defaults, and any constraints (e.g., “requires multiplexing extensions”). I will draft the two sections once you confirm those details.

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.

1 participant