Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overrides for Topic Placement Policy #409

Open
eric-gonzales opened this issue Apr 18, 2024 · 1 comment
Open

Overrides for Topic Placement Policy #409

eric-gonzales opened this issue Apr 18, 2024 · 1 comment

Comments

@eric-gonzales
Copy link

We are currently trying to create an initial topic using a Multi-Region placement policy. Seeing that topic management traditionally expects replication-factor to be set and implemented in client abstractions, we are needing to be able to override the parameter.

As a workaround, we are applying a placement policy after the initial topic creation using the replication-factor setting.

Would it be possible to allow for this override during topic creation for proper topic placement policy upon topic creation?

@canhanhan
Copy link

Additional context to @eric-gonzales: The issue is that on Confluent Kafka; when confluent.placement.constraints is provided in config during topic creation; replication-factor should not be set. The valid value is "-1" which is not allowed by the provider. @Mongey are you okay if I create a PR that makes repication_factor optional if confluent.placement.constraints is defined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants