Skip to content

Add namespace bundle count support - #232

Open
freeznet wants to merge 1 commit into
masterfrom
codex/fix-namespace-bundles-231
Open

Add namespace bundle count support#232
freeznet wants to merge 1 commit into
masterfrom
codex/fix-namespace-bundles-231

Conversation

@freeznet

Copy link
Copy Markdown
Member

Summary

  • add an optional, computed, ForceNew bundles attribute to pulsar_namespace
  • use the broker default when omitted and hydrate the actual count during refresh and import
  • create namespaces with initialized policies so Pulsar 4.0.3 receives non-null replication cluster data
  • validate the positive Java int range while preserving valid non-power-of-two counts

Validation

  • go test ./...
  • go vet ./...
  • go build ./...
  • golangci-lint v2.4.0 run -c .golangci.yaml ./...
  • tfproviderlint with the repository lint flags
  • Pulsar 4.0.3 acceptance: omitted broker default, explicit 3 bundles, ForceNew replacement from 3 to 6, and import/empty-plan coverage
  • go generate ./... and git diff --check

Fixes #231.

Copilot AI lite review requested due to automatic review settings August 29, 2026 10:04
@freeznet
freeznet requested a review from a team as a code owner August 29, 2026 10:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

@freeznet:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions Bot added the doc-info-missing This pr needs to mark a document option in description label Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-info-missing This pr needs to mark a document option in description

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support namespace bundle count (bundles) on pulsar_namespace

2 participants