Skip to content
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

Redis remove pushed messages #1532

Merged
merged 4 commits into from
Mar 18, 2024
Merged

Conversation

rukai
Copy link
Member

@rukai rukai commented Mar 18, 2024

This PR rewrites RedisSinkSingle to send pubsub messages through Transform::transform instead of Transform::pushed_messages.

In the process we also remove the pubsub logic currently duplicated between RedisSinkSingle and the redis codec. A nice win.

The spawn_read_write_tasks in server.rs is extended to support, forcing the chain to run, in the future I will pull spawn_read_write out of server.rs as it will be used by all sink transforms for creating connections.

I checked for regressions in windsock, since we are making significant changes to our connection logic, and its all clear:
image

@rukai rukai marked this pull request as draft March 18, 2024 02:06
@rukai rukai force-pushed the redis_remove_pushed_messages branch from b82d02f to a65c488 Compare March 18, 2024 02:17
@rukai rukai marked this pull request as ready for review March 18, 2024 02:46
@rukai rukai requested a review from conorbros March 18, 2024 04:31
@rukai rukai merged commit 32eaba7 into shotover:main Mar 18, 2024
40 checks passed
@rukai rukai mentioned this pull request Mar 18, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants