Conversation
Reviewed and merged changes from gitbook repo
WalkthroughThis PR updates the MongoDB CDC documentation: removes the preview/caution block, restructures the setup into stepper-style UI guidance (including Create Custom Role details), replaces the static outbound IP table with a dynamic form note and PrivateLink direction, clarifies SCRAM vs X.509 connection flows, and renames column tokens to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@docs/cluster/integrations/mongo-cdc.md`:
- Around line 244-245: The documentation text is inconsistent: `_obkt_` and
`_cbkt_` are shown without surrounding parentheses but `_dot_` is wrapped in
parentheses; update the sentence so `_dot_` is presented the same way as the
other tokens (remove the extra parentheses around `_dot_`) in the sentence
"column names containing dots (`.`) are not supported and are replaced with
(`_dot_`)", leaving "replaced with `_dot_`" to match the format used for
`_obkt_` and `_cbkt_`.
🧹 Nitpick comments (2)
docs/cluster/integrations/mongo-cdc.md (2)
63-65: Prefer active voice and improve example formatting.Line 63 uses passive construction ("A form will appear"). Line 65 is missing an article and could format the example more clearly.
📝 Suggested improvements
- Under **Custom Roles**, click **Add New Custom Role**. A form will appear. + Under **Custom Roles**, click **Add New Custom Role**. This opens a form. -3. Fill in the Custom Role Name - For example, use CrateDB CDC integration. +3. **Enter a Custom Role Name** + For example: `CrateDB CDC integration`.Based on learnings, Markdown documentation should use active voice and maintain a concise, neutral guide tone.
129-129: Consider splitting the long sentence for readability.The sentence on line 129 is 31 words long. Splitting it would improve scannability.
✂️ Suggested split
- production, it is recommended to specify only the required IPs. When you create a new Mongo CDC integration in CrateDB Cloud, the form will show you the specific IP addresses you need to allow for it to work. + production, specify only the required IPs. When you create a new Mongo CDC integration in CrateDB Cloud, the form displays the specific IP addresses to allow.Based on learnings, documentation should maintain a concise, neutral guide tone.
There was a problem hiding this comment.
| # MongoDB CDC |
I believe we agreed a long time ago to remove the "preview"?
In that case, we should also remove the caution below. Not sure if it's still restricted?
There was a problem hiding this comment.
It's not restricted as far as I know. Will adapt a few things too then
|
Would be nice to also add the Stepper for the "steps". |
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Brian Munkholm <bmunkholm@gmail.com>
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (3)
docs/cluster/integrations/mongo-cdc.md (3)
78-78:⚠️ Potential issue | 🔴 CriticalFix typo: "Auhentication" → "Authentication".
The word "Authentication" is misspelled in the tab label.
✏️ Fix spelling error
-:::{tab} SCRAM Auhentication +:::{tab} SCRAM Authentication
96-96:⚠️ Potential issue | 🟡 MinorUse consistent casing: "X.509" (not "x.509").
The standard format for the X.509 certificate standard uses uppercase "X". Lines 45, 157, and 189 already use "X.509".
🔧 Fix casing consistency
-:::{tab} x.509 Authentication +:::{tab} X.509 Authentication
189-189:⚠️ Potential issue | 🔴 CriticalFix typo: "Auhentication" → "Authentication".
The word "Authentication" is misspelled in the tab label.
✏️ Fix spelling error
- :::{tab} X.509 Auhentication + :::{tab} X.509 Authentication
🤖 Fix all issues with AI agents
In `@docs/cluster/integrations/mongo-cdc.md`:
- Line 182: Fix the typo in the tab label by replacing the string "SCRAM
Auhentication" with "SCRAM Authentication" so the tab header is spelled
correctly; update the exact label text used in the documentation (the "SCRAM
Auhentication" token) to "SCRAM Authentication".
🧹 Nitpick comments (3)
docs/cluster/integrations/mongo-cdc.md (3)
59-59: Consider removing unnecessary passive construction.The phrase "A form will appear" uses passive voice. Based on learnings, prefer active constructions in documentation.
✍️ Suggested active voice alternative
- Under **Custom Roles**, click **Add New Custom Role**. A form will appear. + Under **Custom Roles**, click **Add New Custom Role**.The subsequent numbered step naturally continues the flow without needing to state that a form appears.
65-67: Simplify wordy passive constructions.The phrase "to be found under" is wordy. Simplify to "found in" or "under" for more concise documentation. Based on learnings, the cloud-docs repository should use concise, neutral guide tone.
✍️ Suggested simplification
Assign the following actions or roles to the custom role: - - `find`, to be found under Collection Actions/Query and Write Actions - - `changeStream`, to be found under Collection Actions/Change Stream Actions - - `collStats`, to be found under Collection Actions/Diagnostic Actions + - `find` (found in Collection Actions/Query and Write Actions) + - `changeStream` (found in Collection Actions/Change Stream Actions) + - `collStats` (found in Collection Actions/Diagnostic Actions)
61-61: Clarify the Custom Role naming instruction.The instruction could be more direct and explicit about what the user should enter in the field.
✍️ Suggested clarification
-3. Fill in the Custom Role Name - For example, use CrateDB CDC integration. +3. **Enter a Custom Role Name** + Provide a descriptive name for the custom role (e.g., "CrateDB CDC integration").
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|
@juanpardo I fixed a few smaller things. But please also review and fix the items suggested by the rabbit. |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
docs/cluster/integrations/mongo-cdc.md (2)
4-6: Prefer a concise, neutral guide tone here.“Seamless” reads marketing-heavy; consider a tighter, neutral phrasing.
Based on learnings: “ensure Markdown documentation uses a concise, neutral guide tone. Reduce marketing phrasing and keep content succinct across Markdown files, starting with docs in the hierarchy.”✍️ Suggested rewrite
-CrateDB Cloud enables continuous data ingestion from MongoDB using Change Data -Capture (CDC), providing seamless, real-time synchronization of your data. +CrateDB Cloud enables continuous data ingestion from MongoDB using Change Data +Capture (CDC), providing real-time synchronization of your data.
231-233: Use active voice for replacement/conversion statements.Switching to active voice improves clarity and aligns with docs style.
Based on learnings: “audit content for passive voice or first-person usage and suggest rewrites to active voice. Prefer active constructions (subject-verb-object).”✍️ Suggested rewrite
-Column or property names containing square brackets `[]` are not supported and -are replaced with `_obkt_` and `_cbkt_` respectively. Likewise, column -names containing dots `.` are not supported and are replaced with `_dot_`. +CrateDB Cloud does not support column or property names containing square brackets `[]` +and replaces them with `_obkt_` and `_cbkt_` respectively. Likewise, CrateDB Cloud +replaces dots `.` in column names with `_dot_`.-- **Long Strings** exceeding 32,766 characters are replaced with a placeholder +- **Long Strings** exceeding 32,766 characters are replaced with a placeholder value. -- **Binary data types** other than UUIDs, which are converted to `TEXT` and - **vectors**, which are converted to `ARRAY`s of numbers. -- The `Decimal128` data type is not supported and is converted to a string. +- CrateDB Cloud converts **binary data types** other than UUIDs to `TEXT` and + converts **vectors** to `ARRAY`s of numbers. +- CrateDB Cloud does not support `Decimal128` and converts it to a string.Also applies to: 245-249
Reviewed and merged changes from gitbook repo
What's Inside
Preview
https://crate-cloud--119.org.readthedocs.build/en/119/cluster/integrations/mongo-cdc.html
Highlights
Checklist
Summary by CodeRabbit