Skip to content

chore(deps): update confluentinc/cp-kafka docker tag to v8#2439

Closed
Fameing wants to merge 1 commit intodevelopfrom
renovate/confluentinc-cp-kafka-8.x
Closed

chore(deps): update confluentinc/cp-kafka docker tag to v8#2439
Fameing wants to merge 1 commit intodevelopfrom
renovate/confluentinc-cp-kafka-8.x

Conversation

@Fameing
Copy link
Copy Markdown
Collaborator

@Fameing Fameing commented Jun 19, 2025

This PR contains the following updates:

Package Update Change
confluentinc/cp-kafka major 7.9.2 -> 8.0.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Summary by CodeRabbit

  • Chores
    • Updated the default Kafka Docker image to confluentinc/cp-kafka:8.2.0. This changes the runtime container image used by default; there are no changes to public APIs, validation, or application behavior beyond the image version bump.

@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 2d08639 to 8c13ea1 Compare June 25, 2025 12:25
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch 2 times, most recently from e0ab74d to 5cd0b72 Compare July 22, 2025 09:31
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch 4 times, most recently from ee1c580 to 46661ea Compare September 3, 2025 08:09
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch 4 times, most recently from 07ac3f8 to 763e25e Compare September 11, 2025 08:10
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch 5 times, most recently from 10c46a0 to f95848c Compare September 19, 2025 08:10
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from f95848c to 4b7de8d Compare September 21, 2025 08:08
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 4b7de8d to 5c2ae2e Compare October 3, 2025 08:06
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 5c2ae2e to 5cc0b63 Compare October 10, 2025 13:12
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 5cc0b63 to 9c41cba Compare November 3, 2025 08:06
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 9c41cba to 6b508f8 Compare December 3, 2025 08:06
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 6b508f8 to 5659bbc Compare January 3, 2026 08:06
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch 3 times, most recently from ca309c4 to a7caca6 Compare February 9, 2026 14:30
@Fameing Fameing force-pushed the renovate/confluentinc-cp-kafka-8.x branch from a7caca6 to fc3e63c Compare March 3, 2026 08:11
@renovate renovate Bot force-pushed the renovate/confluentinc-cp-kafka-8.x branch from fc3e63c to 6f3ddf5 Compare March 4, 2026 21:27
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 4, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b1245aa9-d568-4d4f-8e65-1d24f4cd20c6

📥 Commits

Reviewing files that changed from the base of the PR and between 0418fd5 and b0eeece.

📒 Files selected for processing (1)
  • embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java
✅ Files skipped from review due to trivial changes (1)
  • embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java

📝 Walkthrough

Walkthrough

Updated the default Confluent Kafka Docker image tag in KafkaConfigurationProperties#getDefaultDockerImage() from confluentinc/cp-kafka:7.9.5 to confluentinc/cp-kafka:8.2.0. No other logic, control flow, validation, or public API signatures changed.

Changes

Cohort / File(s) Summary
Kafka Docker Image Version Update
embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java
Default Confluent Kafka Docker image tag changed from confluentinc/cp-kafka:7.9.5 to confluentinc/cp-kafka:8.2.0 in getDefaultDockerImage().

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • Periecle
  • ijusti

Poem

🐰 I hopped into code and found a new view,
A Docker tag shimmered — hello 8.2!
Containers hum and topics bloom,
A tiny rabbit dances in the dev room. 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the Kafka Docker image tag from version 7.9.5 to 8.2.0, which is a major version upgrade.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/confluentinc-cp-kafka-8.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 6f3ddf5 to 18f4a75 Compare March 4, 2026 21:34
@renovate renovate Bot force-pushed the renovate/confluentinc-cp-kafka-8.x branch 8 times, most recently from 2d6fc7a to da38325 Compare March 10, 2026 00:58
@renovate renovate Bot force-pushed the renovate/confluentinc-cp-kafka-8.x branch from da38325 to 5a53079 Compare April 17, 2026 02:50
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java (1)

70-77: ⚠️ Potential issue | 🔴 Critical

This image upgrade requires migration to KRaft mode—ZooKeaker is no longer supported in cp-kafka 8.2.0.

The upgrade from cp-kafka 7.9.5 to 8.2.0 crosses a critical breaking change: Confluent Platform 8.0 removed ZooKeeper entirely and made KRaft mode mandatory. The current configuration in KafkaContainerConfiguration still uses withEmbeddedZookeeper() and ZooKeeper-oriented env variables (e.g., KAFKA_ZOOKEEPER_CONNECT), which are no longer recognized or applicable in 8.x. The container will fail to start or behave unexpectedly with this image.

To proceed safely, either:

  1. Revert to the fallback below and remain on cp-kafka 7.9.5:
Safe fallback
-        return "confluentinc/cp-kafka:8.2.0";
+        return "confluentinc/cp-kafka:7.9.5";
  1. Migrate KafkaContainerConfiguration to KRaft mode (requires updating broker environment variables and removing ZooKeeper configuration).

See Confluent's ZooKeeper to KRaft migration guide and 8.x Docker config reference for details.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java`
around lines 70 - 77, The Docker image was bumped to confluentinc/cp-kafka:8.2.0
but that image requires KRaft mode; either revert getDefaultDockerImage() in
KafkaConfigurationProperties.getDefaultDockerImage() to the 7.9.5 tag or migrate
KafkaContainerConfiguration to KRaft: remove calls to withEmbeddedZookeeper()
and any use of KAFKA_ZOOKEEPER_CONNECT, drop ZooKeeper-specific env vars, and
add KRaft-required broker envs (e.g., KAFKA_PROCESS_ROLES, KAFKA_NODE_ID,
KAFKA_CONTROLLER_QUORUM_VOTERS, KAFKA_LISTENERS,
KAFKA_CONTROLLER_LISTENER_NAMES) and any controller listener wiring so the
container starts in KRaft mode compatible with the 8.x image.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In
`@embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java`:
- Around line 70-77: The Docker image was bumped to confluentinc/cp-kafka:8.2.0
but that image requires KRaft mode; either revert getDefaultDockerImage() in
KafkaConfigurationProperties.getDefaultDockerImage() to the 7.9.5 tag or migrate
KafkaContainerConfiguration to KRaft: remove calls to withEmbeddedZookeeper()
and any use of KAFKA_ZOOKEEPER_CONNECT, drop ZooKeeper-specific env vars, and
add KRaft-required broker envs (e.g., KAFKA_PROCESS_ROLES, KAFKA_NODE_ID,
KAFKA_CONTROLLER_QUORUM_VOTERS, KAFKA_LISTENERS,
KAFKA_CONTROLLER_LISTENER_NAMES) and any controller listener wiring so the
container starts in KRaft mode compatible with the 8.x image.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8c669a23-c307-4a0d-aeec-6d4a0e1ea629

📥 Commits

Reviewing files that changed from the base of the PR and between 4424e01 and 5a53079.

📒 Files selected for processing (1)
  • embedded-kafka/src/main/java/com/playtika/testcontainer/kafka/properties/KafkaConfigurationProperties.java

@renovate renovate Bot force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 5a53079 to 43202bd Compare April 18, 2026 01:37
@ijusti ijusti force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 43202bd to 0418fd5 Compare April 30, 2026 14:04
| datasource | package               | from  | to    |
| ---------- | --------------------- | ----- | ----- |
| docker     | confluentinc/cp-kafka | 7.9.5 | 8.2.0 |
@renovate renovate Bot force-pushed the renovate/confluentinc-cp-kafka-8.x branch from 0418fd5 to b0eeece Compare May 1, 2026 01:26
@ijusti ijusti closed this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants