Comments (2)
Hi @alex036, these are not showing as changes because they are considered broker defaults -- Confluent Cloud defaults to a cleanup.policy of delete
and a retention time of 7
days, e.g. 604800000
ms.
So, when the tool looks for topic configs, it only looks for user-defined ones. Thus, the tool believes these configs have not been changed and ignores them. If you want to have the defaults explicitly defined as you have shown in your state file, you can just run an apply with the plan and it will put them in as a custom config. Confluent Cloud must not set custom configs if default values are provided. (I would do this with a test topic first to ensure nothing actually changes).
I tested out this scenario against a Confluent Cloud cluster and saw the same.
from kafka-gitops.
Hey @devshawn,
Appreciate the prompt reply.
I've been playing around with adding in other existing topics and I think I based most of my testing off of some test/unused topics that may have indeed been 100% default.
The other topics now have plans with the following as an example:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update
The following actions will be performed:
Topics: 0 to create, 1 to update, 0 to delete.
~ [TOPIC] accounts_receivable
~ configs:
- cleanup.policy
- min.insync.replicas
- retention.ms
- segment.ms
ACLs: 0 to create, 0 to update, 0 to delete.
Plan: 0 to create, 1 to update, 0 to delete.
Then I've just been adding in those custom configs to the state and re-planning to confirm the state and the cluster are the same state.
Thanks!
from kafka-gitops.
Related Issues (20)
- rror thrown when attempting to create a Kafka topic: org.apache.kafka.common.errors.TopicExistsException: Topic 'zuora-email-history' already exists. HOT 1
- Add support for partitions as part of default configurations
- Version update to resolve vulnerability’s
- A list of configs are getting
- plan dies with a nullpointer exception HOT 5
- MSK IAMs Authentication Support HOT 3
- Documentation around usage HOT 3
- Brew warning about use of deprecated bottle call HOT 3
- Plans for Move to `confluent` vs. `ccloud` CLI? HOT 7
- Topic Configs are considered to be added in "Plan" even if they are present in the existing system. HOT 1
- Can I apply changes(the plan json) selectively for ACLs only ? HOT 2
- Invert deletion / creation process HOT 2
- Feature Request: Support Topic Whitelisting HOT 1
- Feature Request: Provide public Docker image based on java 11 HOT 1
- Entire configuration including password is logged HOT 1
- Latest Docker version (0.2.15 - master) cannot parse state file HOT 2
- kafka-gitops should never output passwords HOT 2
- Missing properties are not reported clearly HOT 1
- kafka-gitopts via homebrew : look for java in JAVA_HOME ? HOT 1
- Connecting to service accounts created in CC
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 kafka-gitops.