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

mirrormaker: restrict the number of checkpoint connector tasks #61

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

jjaakola-aiven
Copy link

The MirrorCheckpointConnector uses the global tasks max for setting the number of maximum tasks. This can cause extreme burden on single Kafka broker when hundreds of checkpoint tasks are consuming from from the single partition topic.

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@jjaakola-aiven jjaakola-aiven force-pushed the jjaakola-aiven-mm2-limit-checkpoint-connector-task-number branch from ba30302 to bd88077 Compare November 20, 2024 20:17
Copy link

@gharris1727 gharris1727 left a comment

Choose a reason for hiding this comment

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

This is a configuration problem specific to dedicated mode, so I'm not sure it makes sense to add this as a connector configuration.

I would have expected this to be a modification in MirrorMakerConfig#connectorBaseConfig, so that the real "tasks.max" configuration is changed.

Both ultimately fix the problem, so this is just a style nit.

@jjaakola-aiven jjaakola-aiven force-pushed the jjaakola-aiven-mm2-limit-checkpoint-connector-task-number branch 2 times, most recently from 2516dd5 to a648a21 Compare November 29, 2024 10:40
…or tasks

The MirrorCheckpointConnector uses the global tasks max for setting
the number of maximum tasks. This can cause extreme burden on single
Kafka broker when hundreds of checkpoint tasks are consuming from
from the single partition topic. The default is set to 1 and is configurable.
@jjaakola-aiven jjaakola-aiven force-pushed the jjaakola-aiven-mm2-limit-checkpoint-connector-task-number branch from a648a21 to e4ffdad Compare December 17, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants