Skip to content

Commit e17de25

Browse files
committed
Prepare for Strimzi 0.34.0
Signed-off-by: Jakub Scholz <www@scholzj.com>
1 parent 5a94a40 commit e17de25

File tree

88 files changed

+932
-535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+932
-535
lines changed

.checksums

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
77
# development version of the helm charts in ./packaging/helm-charts
88
### IMPORTANT ###
9-
HELM_CHART_CHECKSUM="9c360dbc87edc9f202f4a474ea054a8d381800e7 -"
9+
HELM_CHART_CHECKSUM="13e73bf2a1d62c49f5a0de796e4d2f8017eead71 -"
1010

1111
### IMPORTANT ###
1212
# if the below line has changed, this means the ./install directory has changed
1313
# the checksum and ./install directory should only be modified on official releases as part of a release
1414
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
1515
# development version of the helm charts in ./packaging/install
1616
### IMPORTANT ###
17-
INSTALL_CHECKSUM="a69e0450f7de8e5af0710e3d2ac9ad78d97cf0e3 -"
17+
INSTALL_CHECKSUM="df8e4258ed54685af342c95cfa443259713eedde -"
1818

1919
### IMPORTANT ###
2020
# if the below line has changed, this means the ./examples directory has changed
2121
# the checksum and ./examples directory should only be modified on official releases as part of a release
2222
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
2323
# development version of the helm charts in ./packaging/examples
2424
### IMPORTANT ###
25-
EXAMPLES_CHECKSUM="65ddcbf2f091cc451f1e11473a42f69fcd40d8fd -"
25+
EXAMPLES_CHECKSUM="c2b690e654f2c65905e01720c19105ed75d46709 -"

api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.strimzi</groupId>
66
<artifactId>strimzi</artifactId>
7-
<version>0.34.0-SNAPSHOT</version>
7+
<version>0.34.0</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<artifactId>api</artifactId>

certificate-manager/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>strimzi</artifactId>
77
<groupId>io.strimzi</groupId>
8-
<version>0.34.0-SNAPSHOT</version>
8+
<version>0.34.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111
<artifactId>certificate-manager</artifactId>

cluster-operator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.strimzi</groupId>
66
<artifactId>strimzi</artifactId>
7-
<version>0.34.0-SNAPSHOT</version>
7+
<version>0.34.0</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<artifactId>cluster-operator</artifactId>

config-model-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>strimzi</artifactId>
77
<groupId>io.strimzi</groupId>
8-
<version>0.34.0-SNAPSHOT</version>
8+
<version>0.34.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

config-model/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>strimzi</artifactId>
77
<groupId>io.strimzi</groupId>
8-
<version>0.34.0-SNAPSHOT</version>
8+
<version>0.34.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

crd-annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>strimzi</artifactId>
77
<groupId>io.strimzi</groupId>
8-
<version>0.34.0-SNAPSHOT</version>
8+
<version>0.34.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

crd-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>strimzi</artifactId>
77
<groupId>io.strimzi</groupId>
8-
<version>0.34.0-SNAPSHOT</version>
8+
<version>0.34.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111
<artifactId>crd-generator</artifactId>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
apiVersion: kafka.strimzi.io/v1beta2
2+
kind: Kafka
3+
metadata:
4+
name: my-cluster
5+
spec:
6+
kafka:
7+
version: 3.4.0
8+
replicas: 3
9+
listeners:
10+
- name: plain
11+
port: 9092
12+
type: internal
13+
tls: false
14+
- name: tls
15+
port: 9093
16+
type: internal
17+
tls: true
18+
config:
19+
offsets.topic.replication.factor: 3
20+
transaction.state.log.replication.factor: 3
21+
transaction.state.log.min.isr: 2
22+
default.replication.factor: 3
23+
min.insync.replicas: 2
24+
inter.broker.protocol.version: "3.4"
25+
storage:
26+
type: ephemeral
27+
zookeeper:
28+
replicas: 3
29+
storage:
30+
type: ephemeral
31+
entityOperator:
32+
topicOperator: {}
33+
userOperator: {}
34+
cruiseControl:
35+
config:
36+
# Note that `goals` must be a superset of `default.goals` and `hard.goals`
37+
goals: >
38+
com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareGoal,
39+
com.linkedin.kafka.cruisecontrol.analyzer.goals.MinTopicLeadersPerBrokerGoal,
40+
com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaCapacityGoal,
41+
com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskCapacityGoal,
42+
com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkInboundCapacityGoal,
43+
com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkOutboundCapacityGoal,
44+
com.linkedin.kafka.cruisecontrol.analyzer.goals.CpuCapacityGoal,
45+
com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaDistributionGoal,
46+
com.linkedin.kafka.cruisecontrol.analyzer.goals.PotentialNwOutGoal,
47+
com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskUsageDistributionGoal,
48+
com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkInboundUsageDistributionGoal,
49+
com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkOutboundUsageDistributionGoal,
50+
com.linkedin.kafka.cruisecontrol.analyzer.goals.CpuUsageDistributionGoal,
51+
com.linkedin.kafka.cruisecontrol.analyzer.goals.TopicReplicaDistributionGoal,
52+
com.linkedin.kafka.cruisecontrol.analyzer.goals.LeaderReplicaDistributionGoal,
53+
com.linkedin.kafka.cruisecontrol.analyzer.goals.LeaderBytesInDistributionGoal,
54+
com.linkedin.kafka.cruisecontrol.analyzer.goals.PreferredLeaderElectionGoal
55+
# Note that `default.goals` must be a superset `hard.goals`
56+
default.goals: >
57+
com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareGoal,
58+
com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaCapacityGoal,
59+
com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskCapacityGoal
60+
hard.goals: >
61+
com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareGoal,
62+
com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaCapacityGoal,
63+
com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskCapacityGoal

examples/metrics/kafka-metrics.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,27 @@ data:
197197
type: GAUGE
198198
labels:
199199
quantile: "0.$4"
200+
# KRaft mode: uncomment the following lines to export KRaft related metrics
201+
# KRaft overall related metrics
202+
# distinguish between always increasing COUNTER (total and max) and variable GAUGE (all others) metrics
203+
#- pattern: "kafka.server<type=raft-metrics><>(.+-total|.+-max):"
204+
# name: kafka_server_raftmetrics_$1
205+
# type: COUNTER
206+
#- pattern: "kafka.server<type=raft-metrics><>(.+):"
207+
# name: kafka_server_raftmetrics_$1
208+
# type: GAUGE
209+
# KRaft "low level" channels related metrics
210+
# distinguish between always increasing COUNTER (total and max) and variable GAUGE (all others) metrics
211+
#- pattern: "kafka.server<type=raft-channel-metrics><>(.+-total|.+-max):"
212+
# name: kafka_server_raftchannelmetrics_$1
213+
# type: COUNTER
214+
#- pattern: "kafka.server<type=raft-channel-metrics><>(.+):"
215+
# name: kafka_server_raftchannelmetrics_$1
216+
# type: GAUGE
217+
# Broker metrics related to fetching metadata topic records in KRaft mode
218+
#- pattern: "kafka.server<type=broker-metadata-metrics><>(.+):"
219+
# name: kafka_server_brokermetadatametrics_$1
220+
# type: GAUGE
200221
zookeeper-metrics-config.yml: |
201222
# See https://github.com/prometheus/jmx_exporter for more info about JMX Prometheus Exporter metrics
202223
lowercaseOutputName: true

examples/mirror-maker/kafka-mirror-maker-2-custom-replication-policy.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@ spec:
2424
replication.factor: 1
2525
offset-syncs.topic.replication.factor: 1
2626
sync.topic.acls.enabled: "false"
27-
replication.policy.separator: ""
2827
replication.policy.class: "org.apache.kafka.connect.mirror.IdentityReplicationPolicy"
2928
heartbeatConnector:
3029
config:
3130
heartbeats.topic.replication.factor: 1
3231
checkpointConnector:
3332
config:
3433
checkpoints.topic.replication.factor: 1
35-
replication.policy.separator: ""
3634
replication.policy.class: "org.apache.kafka.connect.mirror.IdentityReplicationPolicy"
3735
topicsPattern: ".*"
3836
groupsPattern: ".*"

examples/security/keycloak-authorization/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ This folder contains an example `Kafka` custom resource configured for OAuth 2.0
77

88
The folder also contains a Keycloak realm export to import into your Keycloak instance to support the example.
99

10-
Full instructions for the example are available in the [Strimzi Documentation](https://strimzi.io/docs/operators/0.33.2/configuring.html#proc-oauth-authorization-keycloak-example_str).
10+
Full instructions for the example are available in the [Strimzi Documentation](https://strimzi.io/docs/operators/0.34.0/configuring.html#proc-oauth-authorization-keycloak-example_str).
1111

1212
- [kafka-authz-realm.json](./kafka-authz-realm.json)
1313
- The Keycloak realm export file
1414
- [kafka-ephemeral-oauth-single-keycloak-authz.yaml](./kafka-ephemeral-oauth-single-keycloak-authz.yaml)
1515
- The Kafka CR that defines a single-node Kafka cluster with `oauth` authentication and `keycloak` authorization,
16-
using the `kafka-authz` realm. See [full example instructions](https://strimzi.io/docs/operators/0.33.2/configuring.html#proc-oauth-authorization-keycloak-example_str) for proper preparation and deployment.
16+
using the `kafka-authz` realm. See [full example instructions](https://strimzi.io/docs/operators/0.34.0/configuring.html#proc-oauth-authorization-keycloak-example_str) for proper preparation and deployment.
1717
- [kafka-ephemeral-oauth-single-keycloak-authz-metrics.yaml](./kafka-ephemeral-oauth-single-keycloak-authz-metrics.yaml)
1818
- The Kafka CR that defines a single-node Kafka cluster with `oauth` authentication and `keycloak` authorization,
1919
with included configuration for exporting the OAuth metrics using Prometheus JMX exporter.

0 commit comments

Comments
 (0)