Skip to content

Conversation

JakeSCahill
Copy link
Contributor

@JakeSCahill JakeSCahill commented Aug 27, 2025

Description

Resolves https://redpandadata.atlassian.net/browse/DOC-739

Page previews

Checks

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

@JakeSCahill JakeSCahill requested review from Jeffail and a team August 27, 2025 15:52
@JakeSCahill JakeSCahill requested a review from a team as a code owner August 27, 2025 15:52
Copy link
Contributor

coderabbitai bot commented Aug 27, 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 @coderabbit review command.

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

📝 Walkthrough

Walkthrough

The PR updates the Redpanda Migrator cookbook documentation. It reorganizes content using env-cloud conditionals to separate Cloud and non-Cloud instructions, adjusts formatting (e.g., [source,bash] blocks, headings), and adds Cloud-specific guidance for endpoints, authentication, running pipelines (rpk connect run ...), and monitoring (OpenMetrics/Redpanda Cloud). It updates sample commands and provisioning steps to align with Cloud usage, refines offset remapping explanations, and removes non-essential references. Notes such as Brave browser snippet limitations were added. No code interfaces are changed; all edits are confined to documentation text and examples.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Assessment against linked issues

Objective Addressed Explanation
Update migrator docs for Cloud UI, replacing local metrics references with Cloud monitoring guidance (DOC-739)
Cloudify pipeline execution instructions (e.g., rpk connect run read_data_destination.yaml) for Cloud endpoints/auth (DOC-739)

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Add note about Brave browser not fully supporting code snippets (modules/cookbooks/pages/redpanda_migrator.adoc: multiple locations) Not related to Cloud UI guidance or migrator Cloudification; general browser note.
Expanded/edited narrative on offset remapping and exactly-once semantics (modules/cookbooks/pages/redpanda_migrator.adoc) This content change is not explicitly requested by DOC-739, which focuses on Cloud UI and Cloud-specific adjustments. Unclear if required.

Possibly related PRs

Suggested reviewers

  • kbatuigas
  • david-yu
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch DOC-739

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

netlify bot commented Aug 27, 2025

Deploy Preview for redpanda-connect ready!

Name Link
🔨 Latest commit abf6987
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-connect/deploys/68b05bebf47cff0008d96d8e
😎 Deploy Preview https://deploy-preview-295--redpanda-connect.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 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: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
modules/cookbooks/pages/redpanda_migrator.adoc (3)

456-469: Cloud source (Kafka) missing TLS in migrator input; SASL config implies SASL_SSL.

The earlier config.properties uses security.protocol=SASL_SSL, but this block configures SASL without TLS, which will fail against most managed Kafka endpoints.

     redpanda_migrator:
       seed_brokers: [ "source.cloud.kafka.com:9092" ]
@@
       start_from_oldest: true
+      tls:
+        enabled: true
       sasl:
         - mechanism: SCRAM-SHA-256
           username: kafka
           password: testpass

479-488: Cloud destination (Redpanda Cloud) missing TLS in migrator output.

rpk examples use -X tls.enabled=true, but the migrator output lacks TLS. Add it to avoid connection failures.

   redpanda_migrator_bundle:
     redpanda_migrator:
       seed_brokers: [ "destination.cloud.redpanda.com:9092" ]
       max_in_flight: 1
+      tls:
+        enabled: true
       sasl:
         - mechanism: SCRAM-SHA-256
           username: redpanda
           password: testpass

632-644: Cloud destination consumer missing TLS.

As with other Cloud connections, enable TLS for kafka_franz to match SASL SCRAM usage.

 input:
   kafka_franz:
     seed_brokers: [ "destination.cloud.redpanda.com:9092" ]
@@
     consumer_group: foobar
+    tls:
+      enabled: true
     sasl:
       - mechanism: SCRAM-SHA-256
         username: redpanda
         password: testpass
🧹 Nitpick comments (6)
modules/cookbooks/pages/redpanda_migrator.adoc (6)

28-28: Upgrade this limitation to an admonition and double-check current support status.

Make the limitation stand out and ensure it's still accurate for 2025-08-27.

-The Redpanda Migrator does not support migrations to or from Redpanda Cloud Serverless (multi-tenant) clusters.
+IMPORTANT: Redpanda Migrator does not support migrations to or from Redpanda Cloud Serverless (multi-tenant) clusters.

104-108: Prefer Docker Compose v2 syntax.

Most environments alias docker-compose, but v2 standardizes on “docker compose”. Minor polish.

-docker-compose -f docker-compose.yml up --force-recreate -V
+docker compose -f docker-compose.yml up --force-recreate -V

118-133: Add a secrets handling note for sample credentials.

These hardcoded creds are fine for a demo, but we should steer users toward secrets in Cloud.

 ----
 broker:          destination.cloud.redpanda.com:9092
 schema registry: https://schema-registry-destination.cloud.redpanda.com:30081
 username:        redpanda
 password:        testpass
 ----
+
+NOTE: Example endpoints and credentials are placeholders for this tutorial. In Redpanda Cloud, store secrets in the pipeline configuration using the Secrets UI and avoid committing credentials to source control.

136-155: Clarify replication factor expectations for the sample Kafka cluster.

Using --replication-factor=3 implies at least three brokers. Add a note to reduce confusion for single-node test clusters.

 kafka-topics.sh --bootstrap-server source.cloud.kafka.com:9092 --command-config config.properties --create --if-not-exists --topic foo --replication-factor=3 --partitions=2
@@
 kafka-topics.sh --bootstrap-server source.cloud.kafka.com:9092 --command-config config.properties --create --if-not-exists --topic bar --replication-factor=3 --partitions=2
+
+# NOTE: Set --replication-factor to match your source cluster size (use 1 for single-broker test clusters).

620-624: Explicitly tell Cloud users to stop the source consumer pipeline before starting the destination one.

The prose above mentions stopping the source consumer, but the Cloud UI steps don’t include it. Add a first step.

 ifdef::env-cloud[]
-. Go to the **Connect** page on your cluster and click **Create pipeline**.
+. On the **Connect** page, stop the `read_data_source` pipeline you created earlier.
+. Go to the **Connect** page on your cluster and click **Create pipeline**.

668-671: US spelling consistency: “minimises” → “minimizes”.

Minor copy edit to align with US English used elsewhere.

-Although the timestamp-based approach doesn't guarantee exactly-once delivery, it minimises the likelihood of message duplication and avoids the need for complex and error-prone offset remapping logic.
+Although the timestamp-based approach doesn't guarantee exactly-once delivery, it minimizes the likelihood of message duplication and avoids the need for complex and error-prone offset remapping logic.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear 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 d79193d and 6ae1fc9.

📒 Files selected for processing (1)
  • modules/cookbooks/pages/redpanda_migrator.adoc (20 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Redirect rules - redpanda-connect
  • GitHub Check: Header rules - redpanda-connect
  • GitHub Check: Pages changed - redpanda-connect
🔇 Additional comments (1)
modules/cookbooks/pages/redpanda_migrator.adoc (1)

239-240: Validate compute unit sizing statement.

“One compute unit is equivalent to 0.1 CPU and 400 MB of memory” may have changed. Please confirm with current Cloud docs.

@JakeSCahill JakeSCahill requested a review from rockwotj August 27, 2025 16:47
@JakeSCahill JakeSCahill merged commit 0aecc3c into main Aug 29, 2025
5 checks passed
@JakeSCahill JakeSCahill deleted the DOC-739 branch August 29, 2025 12:31
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