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

Durable transports #3

Merged
merged 7 commits into from
Oct 11, 2023
Merged

Durable transports #3

merged 7 commits into from
Oct 11, 2023

Conversation

mempirate
Copy link
Contributor

Closes #2

This PR implements a generic durable transport and an implementation for msg_transport::Tcp.

@mempirate
Copy link
Contributor Author

mempirate commented Oct 3, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@mempirate
Copy link
Contributor Author

mempirate commented Oct 3, 2023

Status: works for unauthenticated sessions. Since an authenticated session would need re-authentication on a retry, will have change things around a little bit.

Edit: I think we can take inspiration from https:/nats-io/nats.rs. I know that they have built-in retries for the transport + several authentication methods.

@mempirate mempirate marked this pull request as ready for review October 10, 2023 13:37
msg/examples/durable.rs Show resolved Hide resolved
msg-transport/src/lib.rs Show resolved Hide resolved
Copy link
Contributor

@merklefruit merklefruit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mempirate
Copy link
Contributor Author

mempirate commented Oct 11, 2023

Merge Activity

  • Oct 11, 8:24 AM: @jonasbostoen started a stack merge that includes this pull request via Graphite.
  • Oct 11, 8:24 AM: @jonasbostoen merged this pull request with Graphite.

@mempirate mempirate merged commit 3f52adc into main Oct 11, 2023
4 checks passed
@merklefruit merklefruit deleted the feature/durable-io branch December 20, 2023 13:29
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.

Implement Durable wrapper for TcpStream
2 participants