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

[Merged by Bors] - migrated FluvioSocket to use trait object #1042

Closed
wants to merge 12 commits into from

Conversation

sehz
Copy link
Contributor

@sehz sehz commented Apr 30, 2021

Migrate FluvioSocket to use TraitObject (BoxConnection) instead of using generic signatures.
This allow Fluvio client to use any TCP connection as long as they satisfy: AsyncRead + AsyncWrite.

Also rename remove Flv as full Fulvio(FluvioSocket,FluvioSink,FluvioStream)

No changed in any business logic. This is purely changing type signature to make it easier to plug-in different Tcp connection types.

Because of type API change, all crates's major version have been updated

@sehz sehz linked an issue May 1, 2021 that may be closed by this pull request
@sehz sehz changed the title migrated to FluvioSocket trait object migrated FluvioSocket to use trait object May 1, 2021
@sehz
Copy link
Contributor Author

sehz commented May 1, 2021

bors r+

bors bot pushed a commit that referenced this pull request May 1, 2021
Migrate FluvioSocket to use TraitObject (BoxConnection) instead of using generic signatures.
This allow Fluvio client to use any TCP connection as long as they satisfy: `AsyncRead + AsyncWrite`.

Also rename remove `Flv` as full `Fulvio(FluvioSocket,FluvioSink,FluvioStream)`

No changed in any business logic.  This is purely changing type signature to make it easier to plug-in different Tcp connection types.

Because of type API change, all crates's major version have been updated
@bors bors bot changed the title migrated FluvioSocket to use trait object [Merged by Bors] - migrated FluvioSocket to use trait object May 1, 2021
@bors bors bot closed this May 1, 2021
@sehz sehz deleted the remove_split branch May 15, 2021 18:43
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.

Remove/replace SplitStream
1 participant