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

[release-1.0] Commit offsets at specified intervals #1449

Conversation

knative-prow-robot
Copy link
Contributor

This is an automated cherry-pick of #1405

Kafka Broker event delivery is hundreds of times faster

pierDipi and others added 3 commits November 9, 2021 18:33
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
@knative-prow-robot knative-prow-robot added the cla: yes Indicates the PR's author has signed the CLA. label Nov 9, 2021
@knative-prow-robot knative-prow-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. area/data-plane labels Nov 9, 2021
@codecov
Copy link

codecov bot commented Nov 9, 2021

Codecov Report

Merging #1449 (663b69e) into release-1.0 (6570a48) will decrease coverage by 0.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                Coverage Diff                @@
##             release-1.0    #1449      +/-   ##
=================================================
- Coverage          76.57%   76.36%   -0.21%     
+ Complexity           584      574      -10     
=================================================
  Files                 99       97       -2     
  Lines               3607     3542      -65     
  Branches             165      159       -6     
=================================================
- Hits                2762     2705      -57     
+ Misses               635      629       -6     
+ Partials             210      208       -2     
Flag Coverage Δ
java-unittests 82.10% <100.00%> (-0.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...a/broker/dispatcher/impl/RecordDispatcherImpl.java 81.92% <100.00%> (-0.64%) ⬇️
...broker/dispatcher/impl/consumer/OffsetManager.java 100.00% <100.00%> (ø)
...r/dispatcher/main/ConsumerVerticleFactoryImpl.java 88.07% <100.00%> (+1.58%) ⬆️
...dispatcher/impl/consumer/BaseConsumerVerticle.java 89.28% <0.00%> (-3.58%) ⬇️
control-plane/pkg/config/env_config.go

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 6570a48...663b69e. Read the comment docs.

Copy link
Contributor

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 9, 2021
@knative-prow-robot
Copy link
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knative-prow-robot, matzew

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 9, 2021
@knative-prow-robot knative-prow-robot merged commit 0ef1a23 into knative-extensions:release-1.0 Nov 9, 2021
matzew added a commit to openshift-knative/eventing-kafka-broker that referenced this pull request Nov 11, 2021
…ns#1449)

* Commit offset at a specified interval

Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>

* Add reset logic to handle long large offsets

Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>

* Use final

Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>

Co-authored-by: Pierangelo Di Pilato <pdipilat@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Co-authored-by: Matthias Wessendorf <mwessend@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/data-plane cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants