[12.x] Redis cluster broadcaster #56581
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently RedisBroadcaster do not work correctly with redis cluster connections (both phpredis and predis drivers)
This PR adds logic for broadcasting to redis cluster and integration test to show it's working now.
Due to implementation details, the logic for phpredis and predis is very different.
Predis solution inspired by predis/predis#562 (comment)
phpredis solution inspired by #48682
Broadcasting integration tests added to queue.yaml, as there are to little broadcasting tests to run separately.