-
Notifications
You must be signed in to change notification settings - Fork 39
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: do not list consumers in a GET Consumer Group call #487
Conversation
Gateways before 3.9 return a list of consumers along with consumer_group information, when performing a GET call on a specific consumer_group. This can become slow in case a consumer_group has a lots of consumers. A separate endpoint and relevant constructs already exist to fetch consumers for a particular group. Thus, we are trying to not list consumers while fetching a consumer_group by passing a query parameter in the API call. Gateway 3.9 supports this. This will make decK faster for cases where a consumer- group holds thousands of consumers. For: Kong/deck#1457
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #487 +/- ##
=======================================
Coverage 55.15% 55.15%
=======================================
Files 71 71
Lines 5691 5691
=======================================
Hits 3139 3139
Misses 1935 1935
Partials 617 617
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure to add a changelog to this. Otherwise just minor nits.
Added changelog for both the PRs here: #488 |
Gateways before 3.9 return a list of consumers
along with consumer_group information, when
performing a GET call on a specific consumer_group. This can become slow in case a consumer_group has
a lots of consumers. A separate endpoint and relevant constructs already exist to fetch consumers for a
particular group. Thus, we are trying to not list
consumers while fetching a consumer_group by passing a query parameter in the API call. Gateway 3.9 supports this.
This will make decK faster for cases where a consumer- group holds thousands of consumers.
For: Kong/deck#1457