Comments (3)
Just to add to the discussion - what should be the desired behavior when a cluster has topic deletion disabled and a KafkaCluster
or KafkaTopic
gets deleted? In the current state on master
, if I am understanding sarama
's documentation correctly, is that no error will be raised but the topic will remain in Kafka/Zookeeper. So an attempt to recreate the topic on a new or existing cluster using the same zookeeper will fail.
from koperator.
From Kubernetes perspective Kafka Topics and Users are external resources. In release 0.7.0 we removed the loop which periodically checked Kafka Topics. Since it is an external resource the operator will not receive any event in case of modification. I think this is the way to go.
It has some benefits like we don't need to implement an inner watcher logic for the Kafka resources.
Of course it has some drawbacks as well since if the user deletes a topic created through CR the operator will recreate it once an update happens on the related CR.
from koperator.
That's a fair move. Now we know how to handle such a situation. Thanks @baluchicken
Is this clearly stated in the docs ? (will check ASAP)
I think this can be closed then.
Thanks again for your great work
from koperator.
Related Issues (20)
- enable pprof on the metrics endpoint HOT 3
- Replace github.com/golang/mock[/mockgen] with github.com/uber-go/mock
- Cruise Control metrics reporter failing on k8s cluster with cgroup v2 HOT 3
- Fill the "Events" field with useful content
- Add file integrity checks to CI pipeline
- Validating webhook times out HOT 8
- Kraft support HOT 1
- Multiarch kafka-operator docker image
- istio merged metrics cannot be used HOT 5
- Adding a new SSL listener with hostnameOverride does not regenerate certificates HOT 1
- kafka docker image is not support arm HOT 4
- How to use grafana dashboard with koperator HOT 2
- Kafka coredump created for topic list command on Kafka broker HOT 1
- configuration for securityContext in the CRD for all pods created by operator HOT 1
- The default zookeeper service name created according to the Readme wrong
- Cruise Control is not ready (yet) HOT 2
- Issues with Kafka User creation
- failed to decode certificate
- Be able to set annotation on PVC spec
- Implement access control to Kafka consumer groups
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koperator.