Skip to content

Add redis topic prefixing#8229

Merged
michaelstaib merged 5 commits into
ChilliCream:mainfrom
dannyheard7:redis-topic-prefix
Aug 27, 2025
Merged

Add redis topic prefixing#8229
michaelstaib merged 5 commits into
ChilliCream:mainfrom
dannyheard7:redis-topic-prefix

Conversation

@dannyheard7
Copy link
Copy Markdown
Contributor

@dannyheard7 dannyheard7 commented Apr 6, 2025

It is a common pattern in Redis to use ACLs to restrict access to channels on a per-service basis, these are based on channel name matching. Currently it is not possible to use ACLs with the provided RedisPubSub since the topic prefix is passed into the formatter and hashed.

This PR prepends the prefix into the actual channel name allowing ACLs to be used.

Redis keys are binary safe therefore any string is valid.

@michaelstaib michaelstaib modified the milestones: HC-15.1.6, HC-15.1.7 Jun 18, 2025
@michaelstaib michaelstaib modified the milestones: HC-15.1.7, HC-15.1.8 Jun 25, 2025
@michaelstaib michaelstaib modified the milestones: HC-15.1.8, HC-15.1.9 Jul 25, 2025
@michaelstaib
Copy link
Copy Markdown
Member

Sorry for the wait ... but we are finally moving forward on 15.1.9 and this is going in now.

@michaelstaib michaelstaib added the 🍒 cherry-pick Consider cherry-picking these changes into the previous major version. label Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒 cherry-pick Consider cherry-picking these changes into the previous major version. 🌶️ hot chocolate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants