Skip to content

feat(performance): add configuration settings for concurrency and tim…#41

Merged
softberries merged 4 commits intomainfrom
add-concurrency-settings-and-timeouts
Jan 30, 2026
Merged

feat(performance): add configuration settings for concurrency and tim…#41
softberries merged 4 commits intomainfrom
add-concurrency-settings-and-timeouts

Conversation

@softberries
Copy link
Member

…eouts on large clusters

Copilot AI review requested due to automatic review settings January 30, 2026 12:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds performance tuning configuration for monitoring large Kafka clusters with many consumer groups and partitions. It introduces parallel fetching of watermarks and group offsets to reduce collection times, controlled by configurable concurrency limits and timeouts.

Changes:

  • Added PerformanceConfig with settings for Kafka operation timeouts, offset fetch timeout, and maximum concurrent operations for groups and watermarks
  • Implemented parallel watermark and offset fetching methods with semaphore-based concurrency control
  • Updated documentation with guidance for tuning performance on large clusters

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/config.rs Added PerformanceConfig struct with timeout and concurrency settings, including defaults and tests
src/kafka/client.rs Added parallel watermark fetching method and updated client to accept performance config
src/collector/offset_collector.rs Added parallel offset collection method with bounded concurrency for consumer groups
src/cluster/manager.rs Integrated performance config and fixed semaphore usage for timestamp fetching
README.md Added comprehensive documentation on performance tuning for large clusters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 30, 2026 12:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@softberries softberries merged commit 0730450 into main Jan 30, 2026
8 checks passed
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.

1 participant