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

feat: consumer-restriction plugin support consumer_group_id type #8567

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

ronething
Copy link
Contributor

@ronething ronething commented Dec 24, 2022

Description

Fixes #8563

consumer-restriction plugin add consumer_group_id type

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

starsz
starsz previously approved these changes Dec 26, 2022
@ronething ronething marked this pull request as ready for review December 26, 2022 02:12



=== TEST 54: create consumer group(group1)
Copy link
Member

Choose a reason for hiding this comment

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

Could you move the new tests to a new file?

When the test file is too large, for example > 800 lines, you should split it to a new file. Please take a look at t/plugin/limit-conn.t and t/plugin/limit-conn2.t.

https://github.com/apache/apisix/blob/master/CONTRIBUTING.md#check-code-style-and-test-case-style

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@spacewander spacewander merged commit 053c53a into apache:master Dec 27, 2022
@ronething ronething deleted the feat/consumer_group_id branch January 6, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants