Skip to content

Commit

Permalink
Bump kafka to 3.0.x (#395)
Browse files Browse the repository at this point in the history
* Bump kafka version

* Fix export tests
  • Loading branch information
peter-evans authored Nov 23, 2023
1 parent ac33fc7 commit eb7be22
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"num.network.threads": "3",
"num.recovery.threads.per.data.dir": "1",
"num.replica.fetchers": "1",
"principal.builder.class": null,
"principal.builder.class": "org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder",
"sasl.enabled.mechanisms": "GSSAPI",
"sasl.kerberos.kinit.cmd": "/usr/bin/kinit",
"sasl.kerberos.min.time.before.relogin": "60000",
Expand Down Expand Up @@ -130,7 +130,7 @@
"num.network.threads": "3",
"num.recovery.threads.per.data.dir": "1",
"num.replica.fetchers": "1",
"principal.builder.class": null,
"principal.builder.class": "org.apache.kafka.common.security.authenticator.DefaultKafkaPrincipalBuilder",
"sasl.enabled.mechanisms": "GSSAPI",
"sasl.kerberos.kinit.cmd": "/usr/bin/kinit",
"sasl.kerberos.min.time.before.relogin": "60000",
Expand Down
4 changes: 2 additions & 2 deletions core/test/fixtures/compose/1-broker-plaintext-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:6.2.0
image: confluentinc/cp-zookeeper:7.0.11
ports:
- "${ZOOKEEPER_PORT}:${ZOOKEEPER_PORT}"
environment:
ZOOKEEPER_CLIENT_PORT: ${ZOOKEEPER_PORT}
ZOOKEEPER_TICK_TIME: 2000

broker1:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand Down
4 changes: 2 additions & 2 deletions core/test/fixtures/compose/1-broker-sasl-plain-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:6.2.0
image: confluentinc/cp-zookeeper:7.0.11
ports:
- "${ZOOKEEPER_PORT}:${ZOOKEEPER_PORT}"
environment:
ZOOKEEPER_CLIENT_PORT: ${ZOOKEEPER_PORT}
ZOOKEEPER_TICK_TIME: 2000

broker1:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand Down
6 changes: 3 additions & 3 deletions core/test/fixtures/compose/2-broker-plaintext-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:6.2.0
image: confluentinc/cp-zookeeper:7.0.11
ports:
- "${ZOOKEEPER_PORT}:${ZOOKEEPER_PORT}"
environment:
ZOOKEEPER_CLIENT_PORT: ${ZOOKEEPER_PORT}
ZOOKEEPER_TICK_TIME: 2000

broker1:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -26,7 +26,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker2:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand Down
14 changes: 7 additions & 7 deletions core/test/fixtures/compose/6-broker-plaintext-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:6.2.0
image: confluentinc/cp-zookeeper:7.0.11
ports:
- "${ZOOKEEPER_PORT}:${ZOOKEEPER_PORT}"
environment:
ZOOKEEPER_CLIENT_PORT: ${ZOOKEEPER_PORT}
ZOOKEEPER_TICK_TIME: 2000

broker1:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -26,7 +26,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker2:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -43,7 +43,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker3:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -60,7 +60,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker4:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -77,7 +77,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker5:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -94,7 +94,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker6:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand Down
8 changes: 4 additions & 4 deletions core/test/fixtures/topic/core.operators.topic.exporter.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -61,7 +61,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -103,7 +103,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -145,7 +145,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down
10 changes: 5 additions & 5 deletions core/test/fixtures/topic/core.operators.topic.exporter.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -61,7 +61,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -103,7 +103,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -145,7 +145,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -187,7 +187,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down
4 changes: 2 additions & 2 deletions core/test/fixtures/topic/core.operators.topic.exporter.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -61,7 +61,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down
4 changes: 2 additions & 2 deletions core/test/fixtures/topic/core.operators.topic.exporter.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down Expand Up @@ -61,7 +61,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"max.compaction.lag.ms": "9223372036854775807",
"max.message.bytes": "1048588",
"message.downconversion.enable": "true",
"message.format.version": "2.8-IV1",
"message.format.version": "3.0-IV1",
"message.timestamp.difference.max.ms": "9223372036854775807",
"message.timestamp.type": "CreateTime",
"min.cleanable.dirty.ratio": "0.5",
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3"
services:
zookeeper:
image: confluentinc/cp-zookeeper:6.2.0
image: confluentinc/cp-zookeeper:7.0.11
ports:
- "${ZOOKEEPER_PORT}:${ZOOKEEPER_PORT}"
environment:
ZOOKEEPER_CLIENT_PORT: ${ZOOKEEPER_PORT}
ZOOKEEPER_TICK_TIME: 2000

broker1:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand All @@ -26,7 +26,7 @@ services:
KAFKA_PASSWORD_ENCODER_SECRET: 123foo

broker2:
image: confluentinc/cp-kafka:6.2.0 # Kafka 2.8.0
image: confluentinc/cp-kafka:7.0.11 # Kafka 3.0.x
depends_on:
- zookeeper
ports:
Expand Down

0 comments on commit eb7be22

Please sign in to comment.