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

Implement KafkaSink finalizer #158

Closed
pierDipi opened this issue Sep 10, 2020 · 2 comments · Fixed by #177
Closed

Implement KafkaSink finalizer #158

pierDipi opened this issue Sep 10, 2020 · 2 comments · Fixed by #177

Comments

@pierDipi
Copy link
Member

Problem
We haven't implemented the finalizer in this PR: #134

Persona:
Which persona is this feature for?
*

Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.
finalizer + unit tests

Time Estimate (optional):
How many developer-days do you think this may take to resolve?
1

Additional context (optional)

  • The underlying topic might be managed by an external entity (eg it might be created before the CO is created), we need to make sure that we don't delete the topic if it isn't managed by us. To do that we can use the annotation eventing.knative.dev/topic.owner in the status of the KafkaSink. Possible values of this annotation might be:

    • kafkasink-controller if it's managed by us
    • external if it's not

cc @matzew @slinkydeveloper if you would like to share your opinion on the additional context design/discussion.

@slinkydeveloper
Copy link
Contributor

@pierDipi I think this approach is fine, go for it

@pierDipi
Copy link
Member Author

/assign
/area control-plane

matzew pushed a commit to matzew/eventing-kafka-broker that referenced this issue Apr 7, 2022
…native-extensions#158)

* [release-v1.2] KafkaSource lease remapping (knative-extensions#155)

* KafkaChannel and KafkaSource lease remappings (knative-extensions#2009)

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Comment out KafkaChannel lease test

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Support knative/pkg#2411 via vendor patch

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Run make generate-release RELEASE=v1.1.3

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Update patches to use 1.2

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

* Fix recent import change

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
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.

3 participants