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

feat: add max_partitions limit #59

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

zmstone
Copy link
Contributor

@zmstone zmstone commented Jan 29, 2024

Add a max_partitions producer config.
This config makes it possible to limit resource utilization from client side, especially when Kafka topic is not in control.

For example, in a shared data export platform, an overprovisioned topic (e.g. 100000 partitions),
may cause client side to spawn the same number of partition workers despite the fact that the user only has
very limited resource quota (e.g. 10 message/s).

@zmstone zmstone merged commit f57c2f7 into kafka4beam:main Jan 30, 2024
6 checks passed
@zmstone zmstone deleted the 0129-max-partitions branch January 30, 2024 08:34
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

Successfully merging this pull request may close these issues.

2 participants