Skip to content

Clarify sr import mode producer behavior#1686

Merged
pgellert merged 5 commits intomainfrom
clarify-sr-import-mode-producer-behavior
Apr 30, 2026
Merged

Clarify sr import mode producer behavior#1686
pgellert merged 5 commits intomainfrom
clarify-sr-import-mode-producer-behavior

Conversation

@pgellert
Copy link
Copy Markdown
Contributor

Description

Clarify some key points about how import mode works in the schema registry (see the diff for details) based on customer feedback.

Not related to a Jira ticket, but prompted by this slack discussion: https://redpandadata.slack.com/archives/C02FSLH3ZS9/p1777040640447529

Page previews

Checks

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

Reword the mode summary so import mode does not read as "only
registration works", and add a NOTE in the IMPORT mode section
calling out that producers and consumers continue to operate
against already-registered schemas. Recommend
auto.register.schemas=false on Confluent serializers to avoid
client-side auto-registration errors. Cross-link the new note
from the 25.3 breaking-change CAUTION.
Lead with what the mode does and denies (4-bullet behavior list)
instead of a procedural recipe, then group operations under
explicit subheadings: Choose subject-level or global, Enable,
Register with an explicit ID and version, and Return to
read-write mode. The subheadings make the section navigable on
a long page, and the explicit Return-to-read-write subsection
closes the loop so readers know how to exit the mode.
@pgellert pgellert self-assigned this Apr 28, 2026
@pgellert pgellert requested a review from a team as a code owner April 28, 2026 10:03
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 28, 2026

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 68a40d9
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/69f36c9f556bd200087e923b
😎 Deploy Preview https://deploy-preview-1686--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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 28, 2026

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.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b6383798-e00d-44e8-ba30-18e959ab277b

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This pull request updates the Schema Registry API documentation for the IMPORT mode section. The changes clarify the runtime behavior during Redpanda 25.3+ migrations, specifying that registration in import mode accepts only requests with explicit schema IDs and versions while bypassing compatibility checks. The documentation expands migration workflow guidance with notes on continuous migration, client-side instructions to disable auto-registration, clarification of global versus subject-level import mode selection, and a new subsection describing the process to return to read-write mode when migration completes.

Sequence Diagram(s)

This section is not applicable to this change, as the pull request contains documentation updates only without introducing new features or modifying control flow.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Fix version #1438: Modifies the same file to update IMPORT mode and schema registry mode guidance during migration scenarios.

Suggested reviewers

  • weeco
  • rockwotj
  • kbatuigas
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Clarify sr import mode producer behavior' is specific and clearly describes the main change—documenting how schema registry import mode affects producer behavior.
Description check ✅ Passed The description addresses the motivation (customer feedback, Slack discussion) and marks the change type as 'Small fix'. However, the Jira ticket field is left blank and page previews are incomplete.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch clarify-sr-import-mode-producer-behavior

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
Copy Markdown
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.

🧹 Nitpick comments (1)
modules/manage/pages/schema-reg/schema-reg-api.adoc (1)

1194-1194: Avoid hard-coded section link text to prevent drift.

Consider using implicit section-title references (for example, <<set-global-mode>>, <<set-mode-for-a-subject>>) so link labels stay synced if headings are renamed.

Based on learnings: “AsciiDoc linking: prefer using xref links with empty brackets ... Avoid hard-coding link text ... applies to all .adoc files.”

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/manage/pages/schema-reg/schema-reg-api.adoc` at line 1194, The
AsciiDoc text currently uses hard-coded section link labels that can drift;
update the two links that point to the Set global mode and Set mode for a
subject sections to use implicit xref references (e.g., replace the explicit
labeled forms with <<set-global-mode>> and <<set-mode-for-a-subject>>) so the
link text is derived from the target section title and stays synced if headings
are renamed; locate the occurrences referencing "Set global mode" and "Set mode
for a subject" in this paragraph and swap them to the implicit anchor forms
mentioned.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@modules/manage/pages/schema-reg/schema-reg-api.adoc`:
- Line 1194: The AsciiDoc text currently uses hard-coded section link labels
that can drift; update the two links that point to the Set global mode and Set
mode for a subject sections to use implicit xref references (e.g., replace the
explicit labeled forms with <<set-global-mode>> and <<set-mode-for-a-subject>>)
so the link text is derived from the target section title and stays synced if
headings are renamed; locate the occurrences referencing "Set global mode" and
"Set mode for a subject" in this paragraph and swap them to the implicit anchor
forms mentioned.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 329d458a-8f96-4ccf-b6c2-bc5cde2bf914

📥 Commits

Reviewing files that changed from the base of the PR and between 3cbf7fc and 5a8f7e3.

📒 Files selected for processing (1)
  • modules/manage/pages/schema-reg/schema-reg-api.adoc

Comment thread modules/manage/pages/schema-reg/schema-reg-api.adoc Outdated
Comment thread modules/manage/pages/schema-reg/schema-reg-api.adoc Outdated
Comment thread modules/manage/pages/schema-reg/schema-reg-api.adoc Outdated
pgellert and others added 3 commits April 30, 2026 16:51
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
@pgellert pgellert requested a review from Feediver1 April 30, 2026 14:52
Copy link
Copy Markdown
Contributor

@Feediver1 Feediver1 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @pgellert ! I've left some updates here--please let me know if any are problematic.

@pgellert
Copy link
Copy Markdown
Contributor Author

They all make sense, thank you, @Feediver1! I've applied them now.

@pgellert pgellert merged commit 09b4db4 into main Apr 30, 2026
3 checks passed
@pgellert pgellert deleted the clarify-sr-import-mode-producer-behavior branch April 30, 2026 14:54
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.

2 participants