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

refactor(ilp): refactored UDP and TCP senders #1445

Merged
merged 1 commit into from Oct 19, 2021

Conversation

bluestreak01
Copy link
Member

to avoid confusing inheritance, TCP inherited UPD. It wasn't clear at all in what way these are siblings. They now inherit common sender, which is Sink.

This refactoring was triggered by this code line:

LineUdpSender sender = new LineTcpSender(..)

…itance, TCP inherited UPD. It wasn't clear at all in what way these are siblings
@ideoma
Copy link
Collaborator

ideoma commented Oct 18, 2021

[PR Coverage check]

😍 pass : 88 / 118 (74.58%)

file detail

path covered line new line coverage
🔵 io/questdb/cutlass/line/LineUdpSender.java 1 2 50.00%
🔵 io/questdb/cutlass/line/AbstractLineSender.java 84 113 74.34%
🔵 io/questdb/cutlass/line/udp/LineUdpParserSupport.java 1 1 100.00%
🔵 io/questdb/cutlass/line/LineTcpSender.java 2 2 100.00%

@bluestreak01 bluestreak01 merged commit 06d2f04 into master Oct 19, 2021
@bluestreak01 bluestreak01 deleted the ilp_sender_refactor branch October 19, 2021 12:34
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.

None yet

2 participants