Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

WIP: Porting 4280 eventing upstream to KafkaChannel #1642

Closed
wants to merge 1 commit into from
Closed

WIP: Porting 4280 eventing upstream to KafkaChannel #1642

wants to merge 1 commit into from

Conversation

matzew
Copy link
Member

@matzew matzew commented Oct 16, 2020

Signed-off-by: Matthias Wessendorf mwessend@redhat.com

Fixes #

Proposed Changes

Release Note


Docs

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 16, 2020
@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 16, 2020
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 16, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 Oct 16, 2020
@matzew
Copy link
Member Author

matzew commented Oct 16, 2020

/cc @vaikas
/cc @lionelvillard
/cc @slinkydeveloper
/cc @pierDipi

mind looking?

@@ -115,7 +115,9 @@ func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
kafkachannelLister: kafkaChannelInformer.Lister(),
kafkachannelInformer: kafkaChannelInformer.Informer(),
}
r.impl = kafkachannelreconciler.NewImpl(ctx, r)
r.impl = kafkachannelreconciler.NewImpl(ctx, r, func(impl *controller.Impl) controller.Options {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is not going to work because the reconciler updates the status here:
https://github.com/knative/eventing-contrib/blob/master/kafka/channel/pkg/reconciler/dispatcher/kafkachannel.go#L172

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, status updates need to be moved to the controller, see also knative-extensions/eventing-kafka#98.

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, yeah - let's do it on the new repo

Copy link
Contributor

Choose a reason for hiding this comment

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

@matzew I think on the new repo the issue is the same. kafka ch dispatcher always updates that status

@knative-prow-robot
Copy link
Contributor

@matzew: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-knative-eventing-contrib-integration-tests 6697f7a link /test pull-knative-eventing-contrib-integration-tests

Full PR test history. Your PR dashboard.

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 understand the commands that are listed here.

@matzew
Copy link
Member Author

matzew commented Oct 19, 2020

/close

@knative-prow-robot
Copy link
Contributor

@matzew: Closed this PR.

In response to this:

/close

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants