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

chore(response-rl): standarize redis configuration #12302

Conversation

nowNick
Copy link
Contributor

@nowNick nowNick commented Jan 8, 2024

Summary

Response-RateLimiting right now has new config structure that reuses common redis connection configuration.

Many plugins differ in the way Redis is configured. The goal of this PR is to introduce a standard Redis config schema that could be shared across plugins.

Other PRs

This is the last in the chains of PRs that standardize Redis configuration.

  1. ACME: chore(acme): standardize redis configuration #12300
  2. RateLimiting: chore(rl): standarize redis configuration #12301
  3. Response-RateLimiting: (this PR)

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • N/A (docs automatically generated from plugin schema description) There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

KAG-3388

@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch from 40f8533 to 2d67545 Compare January 8, 2024 08:19
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-rate-limiting branch from 89fc3b0 to d519f2a Compare January 8, 2024 08:19
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch from 2d67545 to b290eec Compare January 8, 2024 10:28
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-rate-limiting branch from d519f2a to 0b01009 Compare January 8, 2024 10:28
@nowNick nowNick marked this pull request as ready for review January 8, 2024 13:13
@nowNick nowNick requested a review from jschmid1 January 8, 2024 13:13
@nowNick nowNick marked this pull request as draft January 8, 2024 14:14
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-rate-limiting branch 10 times, most recently from 6523fc1 to c36ec13 Compare January 10, 2024 18:06
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch 2 times, most recently from 955cd8b to 3ef350f Compare January 10, 2024 19:10
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch 4 times, most recently from f572e5d to fbfdef2 Compare January 11, 2024 08:20
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-rate-limiting branch from c36ec13 to a877569 Compare January 11, 2024 08:20
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch from fbfdef2 to a6b3bd6 Compare January 11, 2024 08:23
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-rate-limiting branch from a877569 to 1ef1dfc Compare January 11, 2024 08:25
@nowNick nowNick marked this pull request as ready for review January 11, 2024 08:29
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-rate-limiting branch from 1ef1dfc to e2938a7 Compare January 11, 2024 08:57
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch from a6b3bd6 to 3e79e98 Compare January 11, 2024 08:57
@nowNick nowNick requested a review from locao January 11, 2024 11:01
Copy link
Contributor

@jschmid1 jschmid1 left a comment

Choose a reason for hiding this comment

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

See my comment. If we resolve this, we should be good to go.

Response-RateLimiting right now has new config structure
that reuses common redis connection configuration.
The same as ACME and RateLimiting plugin.

KAG-3388
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-response-rl branch from 3e79e98 to 6d5f720 Compare January 11, 2024 12:17
@nowNick nowNick requested a review from jschmid1 January 11, 2024 13:47
Copy link
Contributor

@jschmid1 jschmid1 left a comment

Choose a reason for hiding this comment

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

looks good now 👍🏼

Copy link
Contributor

@locao locao left a comment

Choose a reason for hiding this comment

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

LGTM

@locao locao merged this pull request into chore/standarize-redis-configuration-rate-limiting Jan 11, 2024
24 checks passed
@locao locao deleted the chore/standarize-redis-configuration-response-rl branch January 11, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants