mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #1061] feat: Add Redis key prefix support for environment namespacing #3023
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#3023
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/1061
Author: @ryukunt
Created: 7/14/2025
Status: 🔄 Open
Base:
master← Head:master📝 Commits (7)
7febc1bfeat: Add Redis key prefix support for environment namespacing090b44dMerge pull request #1 from ryukunt/feature/redis-key-prefixf0b004aMerge branch 'master' into masterc1b339breslove conflict & commentb5975cbreslove conflict & commentd19b05freslove conflict & comment86e5edbreslove conflict & comment📊 Changes
7 files changed (+336 additions, -18 deletions)
View changed files
📝
asynq.go(+27 -0)📝
internal/base/base.go(+57 -12)➕
key_prefix_test.go(+234 -0)📝
tools/asynq/cmd/root.go(+9 -0)📝
tools/go.mod(+1 -1)📝
tools/go.sum(+1 -1)📝
tools/metrics_exporter/main.go(+7 -4)📄 Description
Hi author, thanks for the awesome project!
I’ve been using it and would like to contribute this feature as well.
This allows different environments or services (prod, staging, dev) to use the same Redis instance without key collisions by namespacing all Asynq keys with a custom prefix.
Thank for your review
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.