-
Notifications
You must be signed in to change notification settings - Fork 119
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
Set KafkaChannel delivery order to ordered by default #1438
Set KafkaChannel delivery order to ordered by default #1438
Conversation
The existing channel uses ordered delivery and I think we should keep it ordered by default for the new channel for backward compatibility and seamless upgrade. Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
Codecov Report
@@ Coverage Diff @@
## main #1438 +/- ##
============================================
- Coverage 73.41% 73.34% -0.07%
Complexity 575 575
============================================
Files 100 100
Lines 3942 3943 +1
Branches 160 160
============================================
- Hits 2894 2892 -2
- Misses 808 811 +3
Partials 240 240
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -447,6 +448,7 @@ func (r *Reconciler) getSubscriberConfig(ctx context.Context, channel *messaging | |||
egress := &contract.Egress{ | |||
Destination: subscriber.SubscriberURI.String(), | |||
ConsumerGroup: consumerGroup(channel, subscriber), | |||
DeliveryOrder: contract.DeliveryOrder_ORDERED, |
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.
perhaps.... not sure it really makes sense, but:
is that a change from the other KafkaChannel
s?
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.
I'm not following what do you mean here.
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.
I also am not sure about the behaviour of delivery order in KafkaChannel implementations.
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.
is the eventing-kafka
unordered ?
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.
eventing-kafka is ordered (only)
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 |
The existing channel uses ordered delivery and I think we should
keep it ordered by default for the new channel for backward
compatibility and seamless upgrade.
Proposed Changes
Release Note
Docs