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

fix: Limit only accepted events in Kafka event source #2971

Closed
wants to merge 1 commit into from

Conversation

avasiliev
Copy link
Contributor

@avasiliev avasiliev commented Jan 11, 2024

The intention is to fix an issue with heavy loaded Kafka EventSource with filtration (when the number of filtered out events is much greater than the accepted). The rate limitation is now applied to accepted events only, and filtration speed does not slow down.

Another outcome is that (potentially) adding LimitEventsPerSecond property to other EventSources in the future will be simpler.

I haven't found a proper place to add unit tests, so tested the change in our in-house Argo Events instance in K8s.

@avasiliev avasiliev requested a review from whynowy as a code owner January 11, 2024 13:15
Copy link
Contributor

This Pull Request is stale because it has been open for 60 days with
no activity. It will be closed in 7 days if no further activity.

@github-actions github-actions bot added the stale label Mar 12, 2024
@github-actions github-actions bot closed this Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant