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

Allow to specify max items to return in the Cluster Events API call (issue #380) #384

Merged
merged 1 commit into from
Oct 23, 2020
Merged

Conversation

alexott
Copy link
Contributor

@alexott alexott commented Oct 23, 2020

Right now, Cluster Events API doesn't allow to specify maximal number of items to fetch -
the existing limit parameter specifies the number of the items per page, not max count,
so this limit should enforced on the caller's site.

this fixes #380

Right now, Cluster Events API doesn't allow to specify maximal number of items to fetch -
the existing `limit` parameter specifies the number of the items per page, not max count,
so this limit should enforced on the caller's site.

this fixes #380
@alexott alexott requested a review from nfx October 23, 2020 12:26
Copy link
Contributor

@nfx nfx left a comment

Choose a reason for hiding this comment

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

LGTM

@TravisBuddy
Copy link

Hey @alexott,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: bdde34a0-152d-11eb-aff7-dd8cbeb067cc

@alexott alexott merged commit 0d26719 into databricks:master Oct 23, 2020
@alexott alexott deleted the issue-380 branch October 23, 2020 14:49
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.

[ISSUE] Allow to consume only N items from the Events API
3 participants