Commit ecce270
Support KRaft for consensus building (#889)
* extract common properties to role config
* rename KafkaConfig to BrokerConfig
* rename Container to BrokerContainer
* make zookeeper config map ref optional
* remove zookeeper.connect and timeout from product config
* add controller role and move configs in own module
* fix tests
* regenerated charts
* use broker.properties and controller.properties
* replace missing server.properties
* remove unused errors
* add controller to product confif machinery
* remove cp
* add controller to security.properties
* add controller to security properties
* wip - add AnyConfig to access different role configs
* remove errors from product logging
* finished controller prep work
* remove clones
* remove obsolete methods
* cleanup
* use role methods
* remove obsolete errors
* remove unwrap
* wip - kafka controller cleanup, move resources to own module
* wip - controller working
* wip - combine broker & controller
* fix todos
* zookeeper working again
* fix todos
* kraftify smoke test
* kraftify tests definition
* revert test changes
* wip - controller tls
* fix 3.7.x commands
* hash node.id offset from rolegroup
* started kerberos tests
* adapt logging tests
* error out on node id hash collision
* fix cluster operation tests
* fix configuration tests
* fix upgrade tests
* start fix remove rolegroup tests
* started kraft docs
* fix unit tests
* fix docs
* run pre commit
* fix yaml lint
* clarify docs, clean up
* linter
* improve jaas config
* add comments, remove todo
* remove redundant memory increase
* implement node.id hashing check for all roles
* fix linter
* prepare log4j2 config
* consolidate cluster operation tests
* consolidate delete rolegroup
* adjust kerberos tests
* fix logging tests
* fix smoke test
* fix tls tests
* fix upgrade tests
* Apply suggestions from code review
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
* do not apply znodes in kraftmode
* use cluster name instead of uid for kafka cluster-id
* replace uid with name for cluster-id
* add pre-stop sleep hook to controller kafka container
* add "kraft" test suite
* add experimental warning to kraft docs
* add kafka 4.0.0 and log4j2
* Apply suggestions from code review
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
* remove explicit filenames from doc paragraph
* add quotes to clarify code docs
* add "smoke-kraft" test
* add "operations-kraft" test
* update operations test
* tests: remove zookeeper=false tests
* tests: remove zookeeper-latest: false
* add 4.1.0
* added known issues section
* tests: missed one
* improve known issues
* remove log4j vs log4j2 java arg todo
* fix / improve todos
* fix copy paste
* tests: fix tls tests
* tests: disable scaling for kraft 3.7
* remove obsolete zk/kraft checks
* add gracefulShutdownTimeout to stabilize kerberos test
---------
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>1 parent 5080695 commit ecce270
105 files changed
Lines changed: 5446 additions & 1705 deletions
File tree
- .vscode
- deploy
- config-spec
- helm/kafka-operator
- configs
- crds
- docs/modules/kafka
- pages
- usage-guide
- partials
- examples
- logging
- opa
- rust/operator-binary/src
- config
- crd
- role
- operations
- resource
- tests
- templates/kuttl
- cluster-operation
- configuration
- delete-rolegroup
- kerberos
- logging
- operations-kraft
- smoke-kraft
- smoke
- tls
- upgrade
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 66 | | |
98 | 67 | | |
99 | 68 | | |
100 | 69 | | |
101 | 70 | | |
102 | | - | |
| 71 | + | |
103 | 72 | | |
104 | 73 | | |
105 | 74 | | |
| |||
118 | 87 | | |
119 | 88 | | |
120 | 89 | | |
121 | | - | |
| 90 | + | |
122 | 91 | | |
123 | 92 | | |
124 | 93 | | |
| |||
133 | 102 | | |
134 | 103 | | |
135 | 104 | | |
136 | | - | |
| 105 | + | |
137 | 106 | | |
138 | 107 | | |
139 | 108 | | |
| |||
151 | 120 | | |
152 | 121 | | |
153 | 122 | | |
154 | | - | |
| 123 | + | |
155 | 124 | | |
156 | 125 | | |
157 | 126 | | |
| |||
169 | 138 | | |
170 | 139 | | |
171 | 140 | | |
172 | | - | |
| 141 | + | |
173 | 142 | | |
174 | 143 | | |
175 | 144 | | |
| |||
181 | 150 | | |
182 | 151 | | |
183 | 152 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 66 | | |
98 | 67 | | |
99 | 68 | | |
100 | 69 | | |
101 | 70 | | |
102 | | - | |
| 71 | + | |
103 | 72 | | |
104 | 73 | | |
105 | 74 | | |
| |||
118 | 87 | | |
119 | 88 | | |
120 | 89 | | |
121 | | - | |
| 90 | + | |
122 | 91 | | |
123 | 92 | | |
124 | 93 | | |
| |||
133 | 102 | | |
134 | 103 | | |
135 | 104 | | |
136 | | - | |
| 105 | + | |
137 | 106 | | |
138 | 107 | | |
139 | 108 | | |
| |||
151 | 120 | | |
152 | 121 | | |
153 | 122 | | |
154 | | - | |
| 123 | + | |
155 | 124 | | |
156 | 125 | | |
157 | 126 | | |
| |||
169 | 138 | | |
170 | 139 | | |
171 | 140 | | |
172 | | - | |
| 141 | + | |
173 | 142 | | |
174 | 143 | | |
175 | 144 | | |
| |||
181 | 150 | | |
182 | 151 | | |
183 | 152 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
0 commit comments