-
Notifications
You must be signed in to change notification settings - Fork 162
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
Unified Jedis for Bucket4j #3102
Conversation
bucket4jMySQL = { module = "com.bucket4j:bucket4j-mysql", version = "8.5.0" } | ||
bucket4jRedis = { module = "com.bucket4j:bucket4j-redis", version = "8.5.0" } | ||
bucket4jCore = { module = "com.bucket4j:bucket4j-core", version = "8.7.0" } | ||
bucket4jDynamoDbV1 = { module = "com.bucket4j:bucket4j-dynamodb-sdk-v1", version = "8.6.0" } |
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.
Are they not releasing an update for this library?
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.
No, the author actually dropped it from bucket4j because he is based in Russia and the various geoip based blocklists make working with it difficult from that locality
@@ -2,10 +2,13 @@ package misk.redis | |||
|
|||
import com.google.common.base.Stopwatch | |||
import com.google.common.base.Ticker | |||
import jakarta.inject.Inject |
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.
javax?
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.
All the imports from the inject package seem to use jakarta
, a search for import javax.inject
returns nothing
Description
Converts the misk bucket4j redis module to use
UnifiedJedis
, consistent with the main redis module