terraform-provider-pulsar icon indicating copy to clipboard operation
terraform-provider-pulsar copied to clipboard

schema_compatibility_strategy is not set on namespace

Open scarlier opened this issue 2 months ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v1.13.4 on darwin_arm64

Affected Resource(s)

  • pulsar_namespace

Terraform Configuration Files

terraform {
  required_providers {
    pulsar = {
      version = "0.6.0"
      source = "registry.terraform.io/streamnative/pulsar"
    }
  }
}

provider "pulsar" {
  alias = "local"
  web_service_url = "http://localhost:8080"
}

resource "pulsar_tenant" "example" {
  provider = pulsar.local

  tenant = "testing-example"
  allowed_clusters = ["standalone"]
}


resource "pulsar_namespace" "example" {
  provider = pulsar.local

  tenant = pulsar_tenant.example.tenant
  namespace = "example"

  namespace_config {
    replication_clusters = ["standalone"]
    schema_compatibility_strategy = "ForwardTransitive"
  }
}

Debug Output

https://gist.github.com/scarlier/ad02d16c70d6cd89192fdceb116dda96

Expected Behavior

A namespace should be created with schema_compatibility_strategy ForwardTransitive

Actual Behavior

A namespace was created with schema_compatibility_strategy UNDEFINED

Steps to Reproduce

  1. terraform apply
  2. pulsar-admin namespaces get-schema-compatibility-strategy testing-example/example

Important Factoids

  • pulsar is started locally with pulsar standalone

scarlier avatar Nov 03 '25 17:11 scarlier

Hi @scarlier, we have identified the issue and will push a fix soon.

nlu90 avatar Nov 03 '25 17:11 nlu90