Skip to content

Commit

Permalink
Alphabetize namespace config
Browse files Browse the repository at this point in the history
  • Loading branch information
klevy-toast committed Dec 30, 2024
1 parent b5677c8 commit f643bb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions pulsar/resource_pulsar_namespace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,13 +536,13 @@ resource "pulsar_namespace" "test" {
namespace_config {
anti_affinity = "anti-aff"
max_consumers_per_subscription = "50"
is_allow_auto_update_schema = false
max_consumers_per_subscription = "50"
max_consumers_per_topic = "50"
max_producers_per_topic = "50"
message_ttl_seconds = "86400"
replication_clusters = ["standalone"]
is_allow_auto_update_schema = false
offload_threshold_size_in_mb = "100"
offload_threshold_size_in_mb = "100"
replication_clusters = ["standalone"]
}
dispatch_rate {
Expand Down
8 changes: 4 additions & 4 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ type (
// configurable features of the Pulsar Namespace Entity via Terraform
NamespaceConfig struct {
AntiAffinity string
ReplicationClusters []string
IsAllowAutoUpdateSchema bool
MaxConsumersPerTopic int
MaxProducersPerTopic int
MaxConsumersPerSubscription int
MessageTTLInSeconds int
SchemaValidationEnforce bool
SchemaCompatibilityStrategy string
IsAllowAutoUpdateSchema bool
OffloadThresholdSizeInMb int
ReplicationClusters []string
SchemaCompatibilityStrategy string
SchemaValidationEnforce bool
}

SplitNS struct {
Expand Down

0 comments on commit f643bb9

Please sign in to comment.