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

Kafka src desitation #688

Merged
merged 3 commits into from
Oct 29, 2019
Merged

Kafka src desitation #688

merged 3 commits into from
Oct 29, 2019

Conversation

matzew
Copy link
Member

@matzew matzew commented Oct 29, 2019

Fixes #

Proposed Changes

  • KafkaSource sink now uses Destination

Release Note

KafkaSource sink now uses Destination

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 29, 2019
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 29, 2019
@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 29, 2019
@@ -75,7 +76,8 @@ type Reconciler struct {
receiveAdapterImage string
eventTypeLister eventinglisters.EventTypeLister
kafkaLister listers.KafkaSourceLister
sinkReconciler *duck.SinkReconciler
sinkResolver *resolver.URIResolver
sinkReconciler *duck.SinkReconciler
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this should be there anymore? sinkResolver should be the only thing you need?

@vaikas
Copy link
Contributor

vaikas commented Oct 29, 2019

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 29, 2019
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-eventing-contrib-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
kafka/source/pkg/apis/sources/v1alpha1/kafka_lifecycle.go 61.9% 50.0% -11.9

minLength: 1
uri:
type: string
description: "the target URI. If ref is provided, this must be relative URI reference."
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, @grantr will PR the same for couch as well - after these are in, ok ?

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Member

Choose a reason for hiding this comment

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

I'm on it

Copy link
Contributor

Choose a reason for hiding this comment

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

@lionelvillard I think we should also change anyOf to oneOf

Copy link
Member

Choose a reason for hiding this comment

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

@grantr yup you're right

@lionelvillard
Copy link
Member

/lgtm

Copy link
Member

@lionelvillard lionelvillard left a comment

Choose a reason for hiding this comment

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

LGTM

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lionelvillard, matzew, vaikas-google

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 merged commit 9334aa5 into knative:master Oct 29, 2019
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. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants