-
Notifications
You must be signed in to change notification settings - Fork 117
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
Commit offset on consumer close #1463
Commit offset on consumer close #1463
Conversation
/cherry-pick release-1.0 |
@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.0 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-0.26 |
@pierDipi: once the present PR merges, I will cherry-pick it on top of release-0.26 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-0.25 |
@pierDipi: once the present PR merges, I will cherry-pick it on top of release-0.25 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## main #1463 +/- ##
============================================
+ Coverage 73.41% 73.51% +0.09%
- Complexity 575 585 +10
============================================
Files 100 101 +1
Lines 3942 3964 +22
Branches 160 165 +5
============================================
+ Hits 2894 2914 +20
- Misses 808 809 +1
- Partials 240 241 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
6232bb4
to
18ccda2
Compare
When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
18ccda2
to
e2bd9cf
Compare
data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/AsyncCloseable.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit - a bit of comments
.../src/main/java/dev/knative/eventing/kafka/broker/dispatcher/impl/consumer/OffsetManager.java
Show resolved
Hide resolved
.../src/main/java/dev/knative/eventing/kafka/broker/dispatcher/impl/consumer/OffsetManager.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, pierDipi 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 |
@pierDipi: new pull request created: #1465 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@pierDipi: #1463 failed to apply on top of branch "release-0.26":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@pierDipi: #1463 failed to apply on top of branch "release-0.25":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'll do it manually 😄 |
* Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
* Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
…tensions#1478) * Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
…tensions#1478) * Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
…tensions#1478) * Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
…tensions#1478) * Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
* Commit offset on consumer close When a consumer is closed, we want to commit the offsets for all owned partitions. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> * Comments Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com> Co-authored-by: Pierangelo Di Pilato <pdipilat@redhat.com>
When a consumer is closed, we want to commit the offsets for all
owned partitions.
Fixes (some flaky tests)
Proposed Changes
Release Note
Docs