Skip to content

provides reworked AeronTransport implementation - #972

Draft
OlegDokuka wants to merge 10 commits into
masterfrom
enhancement/aeron-support
Draft

provides reworked AeronTransport implementation#972
OlegDokuka wants to merge 10 commits into
masterfrom
enhancement/aeron-support

Conversation

@OlegDokuka

Copy link
Copy Markdown
Member

Signed-off-by: Oleh Dokuka shadowgun@i.ua


public BaseDuplexConnection() {
onClose.doFinally(s -> doOnClose()).subscribe();
onClose.subscribe(null, t -> doOnClose(), this::doOnClose);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

unrelated, non-blocking. What's the plan with the deprecation? reactor/reactor-core#2431 (comment)

Should onClose be updated?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Yeah. I will do that in a separate PR


public BaseDuplexConnection() {
onClose.doFinally(s -> doOnClose()).subscribe();
onClose.subscribe(null, t -> doOnClose(), this::doOnClose);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this still run for cancellation?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

I dont think it should at all. In this case, we wait for onError or onComplete

Comment threadrsocket-transport-aeron/build.gradle Outdated
.subscribe(
null,
__ -> {
synchronized (activeConnections) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can this duplication be improved by using doOnTerminate or doFinally?

@yschimke

Copy link
Copy Markdown
Member

Low value drive by review of a draft PR. Mainly me trying to learn from the PR.

@OlegDokukaOlegDokuka linked an issue Apr 27, 2021 that may be closed by this pull request
OlegDokukaand others added 10 commits June 9, 2021 20:43
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
…on/AeronClientTransport.java
Co-authored-by: Yuri Schimke <yuri@schimke.ee>
…on/AeronServerTransport.java
Co-authored-by: Yuri Schimke <yuri@schimke.ee>
uncomments largePayload tests
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com>
Signed-off-by: Oleh Dokuka <odokuka@vmware.com>
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com>
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com>
Signed-off-by: Oleh Dokuka <odokuka@vmware.com>
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com>
@OlegDokuka
OlegDokukaforce-pushed the enhancement/aeron-support branch from 0753b6e to 6aa3d8aCompareJune 9, 2021 17:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is using Aeron stable with RSocket?

2 participants

@OlegDokuka@yschimke