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

Modify kafka channel to use CRD #1216

Closed
akashrv opened this issue May 10, 2019 · 9 comments · Fixed by #1316
Closed

Modify kafka channel to use CRD #1216

akashrv opened this issue May 10, 2019 · 9 comments · Fixed by #1316
Assignees
Milestone

Comments

@akashrv
Copy link
Contributor

akashrv commented May 10, 2019

Refer to decision made in #1002
This feature request is to update in-memory channel

@akashrv
Copy link
Contributor Author

akashrv commented May 15, 2019

/milestone v0.7.0

@knative-prow-robot knative-prow-robot added this to the v0.7.0 milestone May 15, 2019
@vaikas
Copy link
Contributor

vaikas commented May 15, 2019

This should also move to messaging.knative.dev as part of that work as per.
https://github.com/knative/eventing/blob/master/docs/decisions/eventing-and-messaging.md

@nachocano
Copy link
Contributor

@matzew are you planning on working on this one? If not, let me know and I can start with a first pass...

@matzew
Copy link
Member

matzew commented May 20, 2019

@nachocano I think that the next weeks I am good busy with this task:
#1213

Would you mind, starting? I am happy to help/review. when you port this to a KafkaChannel CRD

@nachocano
Copy link
Contributor

nachocano commented May 20, 2019 via email

@nachocano
Copy link
Contributor

/assign

@nachocano
Copy link
Contributor

nachocano commented May 21, 2019

This change seems bigger than I initially thought. Here are some of the items we need to get it done

All the CRD changes for other channels will rely on changes to subscription validation:

  • Subscription's channel: we need to change the webhook to allow any subscription.spec.channel kind (not just Channel as it is now) and then mark it as non-subscribable in the subscription controller if the object does not implement subscribable. As we cannot check properly for subscribable, then we we will check whether to the CRD has certain label. There is a follow up on creating a Channelable duck type

@Harwayne
Copy link
Contributor

Subscription controller needs to watch the different channels (i.e., InMemoryChannel, KafkaChannel, GcpPubSubChannel, etc).

I think #1149 actually did this already. Namely it added code to track arbitrary CRDs and already passes the Channel as an ObjectReference to track.

@nachocano
Copy link
Contributor

nachocano commented Jun 6, 2019

/reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants