Skip to content

Conversation

@micheleRP
Copy link
Contributor

@micheleRP micheleRP commented Mar 31, 2025

Description

This single-sources the files necessary with redpanda-data/cloud-docs#245.

Single-Sourcing Enhancements:

Cloud and Non-Cloud Environment Adjustments:

Documentation Updates:

Resolves https://redpandadata.atlassian.net/browse/DOC-1160
Review deadline: April 4

Page previews

Audit logging - SM

Checks

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

@netlify
Copy link

netlify bot commented Mar 31, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 0f373ec
🔍 Latest deploy log https://app.netlify.com/sites/redpanda-docs-preview/deploys/67f582ebee5ef50009a0d7f3
😎 Deploy Preview https://deploy-preview-1041--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 site configuration.

@micheleRP micheleRP changed the title update local playbook + ss schema id validation DOC-1160 single source SM for Cloud cluster config Mar 31, 2025
@micheleRP micheleRP marked this pull request as ready for review April 7, 2025 18:51
@micheleRP micheleRP requested a review from a team as a code owner April 7, 2025 18:51
Copy link
Contributor

Choose a reason for hiding this comment

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

Not in a diff, but I think we should tweak this as well as the Use the Schema Registry API doc a little bit since the NOTE near the start of the page looks like this in Cloud docs:

The Schema Registry is built into Redpanda, and you can use it with the Schema Registry API or with Redpanda Cloud. This section describes Schema Registry operations available in Redpanda Cloud.

Instead of saying just "Redpanda Cloud" it would be better to specify that it's the Cloud UI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch

endif::[]

ifndef::env-cloud[]
[[max-threads]]
Copy link
Contributor

Choose a reason for hiding this comment

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

Double checking that we want to add this custom section ID

Copy link
Contributor Author

Choose a reason for hiding this comment

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

omg, I think copilot popped that in. Good eye, @kbatuigas!

endif::[]

ifdef::env-cloud[]
TIP: You can also view logs in Redpanda Cloud].
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
TIP: You can also view logs in Redpanda Cloud].
TIP: You can also view logs in Redpanda Cloud.

Maybe specify Cloud UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, thanks, I've fixed

:page-layout: index
:page-categories: Development, Stream Processing, Data Transforms
:page-categories: Development, Stream Processing, Data Transforms
// tag::single-source[]
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the single-source tag here? I think this is just an index page in Self-Managed because there is a standalone quickstart for k8s

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe not, but tagging it without using it does not do any harm, right @JakeSCahill? e.g., in the cluster properties reference, I left tags around properties that were removed from Cloud just to save time in the future (since I think they'll be coming soon). Let me know if we should remove instead.

----
endif::[]

ifdef::env-cloud[]
Copy link
Contributor

Choose a reason for hiding this comment

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

Just double checking - do we have an equivalent Cloud docs page yet where this content would display? I wasn't able to find it in #245

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no: initially the property for schema ID validation was added for Cloud, then it was removed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if it should be part of this PR, but we might need to also make sure that some of the values on this page such as ip and port are applicable in Cloud as well. I think Cloud has their own IP addresses/bootstrap server URLs

Choose a reason for hiding this comment

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

perhaps @deniscoady can help here in terms of providing examples of the right ip/port

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created this issue to verify steps: https://redpandadata.atlassian.net/browse/DOC-1211

@micheleRP micheleRP requested a review from kbatuigas April 7, 2025 23:31
rpk cluster config set audit_excluded_principals '["User:principal1", "principal2"]'
rpk cluster config set audit_enabled true
rpk topic alter-config _redpanda.audit_log --set retention.ms=259200000

Copy link
Contributor

Choose a reason for hiding this comment

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

These added lines are duplicates of the lines immediately below btw! So it displays twice here https://deploy-preview-1041--redpanda-docs-preview.netlify.app/current/manage/audit-logging/#enable-audit-logging (and not at all for the Cloud version of the page, please double check that that's correct)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

- xref:develop:config-topics.adoc[]
endif::[]

ifdef::env-cloud[]
Copy link
Contributor

Choose a reason for hiding this comment

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

Also double check - is this page https://deploy-preview-1041--redpanda-docs-preview.netlify.app/redpanda-cloud/manage/cluster-maintenance/audit-logging supposed to display more than these two sections?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

confirmed content

@micheleRP micheleRP requested a review from kbatuigas April 8, 2025 15:14
Copy link
Contributor

@kbatuigas kbatuigas left a comment

Choose a reason for hiding this comment

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

🎉

@micheleRP micheleRP merged commit c3e2c14 into main Apr 8, 2025
6 of 7 checks passed
@micheleRP micheleRP deleted the DOC-1160-single-source-SM-for-Cloud-cluster-config branch April 8, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants