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

Cleanup deprecations and warnings #156

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Cleanup deprecations and warnings #156

merged 1 commit into from
Jun 22, 2020

Conversation

bsideup
Copy link
Contributor

@bsideup bsideup commented Jun 22, 2020

No description provided.

@bsideup bsideup added the type/chore A task not related to code (build, formatting, process, ...) label Jun 22, 2020
@bsideup bsideup added this to the 1.3.0-M2 milestone Jun 22, 2020
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2020

Codecov Report

Merging #156 into master will increase coverage by 0.21%.
The diff coverage is 73.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #156      +/-   ##
============================================
+ Coverage     80.39%   80.60%   +0.21%     
  Complexity      241      241              
============================================
  Files            22       22              
  Lines          1015     1021       +6     
  Branches         91       91              
============================================
+ Hits            816      823       +7     
- Misses          165      166       +1     
+ Partials         34       32       -2     
Impacted Files Coverage Δ Complexity Δ
...kafka/receiver/internals/DefaultKafkaReceiver.java 96.66% <ø> (ø) 32.00 <0.00> (ø)
...n/java/reactor/kafka/receiver/ReceiverOptions.java 77.77% <66.66%> (-2.23%) 9.00 <2.00> (ø)
.../main/java/reactor/kafka/sender/SenderOptions.java 57.14% <66.66%> (+2.59%) 8.00 <2.00> (ø)
...ctor/kafka/receiver/internals/ConsumerHandler.java 92.20% <100.00%> (ø) 15.00 <0.00> (ø)
...tor/kafka/sender/internals/DefaultKafkaSender.java 90.70% <100.00%> (ø) 32.00 <1.00> (ø)
...or/kafka/receiver/internals/ConsumerEventLoop.java 85.05% <0.00%> (+1.54%) 16.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53f54df...e2aa8cd. Read the comment docs.

@@ -196,7 +197,7 @@ public void subscribe(CoreSubscriber<? super Object> s) {
.then();
}

private <T> Flux<SenderResult<T>> transaction(Publisher<? extends SenderRecord<K, V, T>> transactionRecords, UnicastProcessor<Object> transactionBoundary) {
private <T> Flux<SenderResult<T>> transaction(Publisher<? extends SenderRecord<K, V, T>> transactionRecords, FluxIdentityProcessor<Object> transactionBoundary) {
Copy link
Member

Choose a reason for hiding this comment

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

is the transactionBoundary really useful? the concatWith(Mono.create) a few line below is also very strange

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I was also WTFing at concatMap(Mono.create(, but didn't want to touch/change the current logic.

FTR "Sender" refactoring is planned for M2 (while "Receiver" was a target for M1), where I will cleanup it anyways

@bsideup bsideup merged commit c042573 into master Jun 22, 2020
@bsideup bsideup deleted the cleanup_deprecations branch June 22, 2020 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore A task not related to code (build, formatting, process, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants