graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Add redis topic prefixing

Open dannyheard7 opened this issue 9 months ago • 0 comments

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.

dannyheard7 avatar Apr 06 '25 09:04 dannyheard7