operatorfabric-core icon indicating copy to clipboard operation
operatorfabric-core copied to clipboard

Replace bitnami images with confluentinc for kafka and zookeeper (#8802)

Open panagiotisbellias opened this issue 3 months ago • 1 comments

PR Description

Summary

Replaced legacy Bitnami Kafka/Zookeeper Docker images with Confluent’s actively maintained images. This resolves issue #8802

Background

  • Bitnami images used in our test setup are no longer maintained.
  • Continuing to use them poses risks for security, compatibility, and future updates.

Changes

  • Updated config/docker-compose.yml to use:
    • confluentinc/cp-kafka
    • confluentinc/cp-zookeeper
  • Verified compatibility with existing test scenarios.

Impact

  • No functional changes in application logic.
  • Test infrastructure now uses supported images.
  • Safer long-term maintenance and upgrades.

Release Notes

Features / Bugs / Tasks

  • Task: Replace bitnami images with confluentinc for kafka and zookeeper (#8802)

panagiotisbellias avatar Sep 03 '25 12:09 panagiotisbellias

📝 Walkthrough

Walkthrough

Updated service definitions in config/docker-compose.yml for Zookeeper and Kafka. Zookeeper image changed from bitnamilegacy/zookeeper:3 to confluentinc/cp-zookeeper:7.2.15; removed ALLOW_ANONYMOUS_LOGIN, added ZOOKEEPER_CLIENT_PORT: "2181", ZOOKEEPER_TICK_TIME: "2000", and a healthcheck (test, interval, timeout, retries). Kafka image changed from bitnamilegacy/kafka:3 to confluentinc/cp-kafka:7.2.15. No other files or public API declarations were modified.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • opfab/operatorfabric-core#8801 — Modifies docker-compose entries for Zookeeper and Kafka images (similar image substitutions).

Suggested reviewers

  • ClementBouvierN

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between bca3bfe98d529a8324c815eb6951f9c25e11dddd and f941485c92e6984cc521df0f3c888366354df0b3.

📒 Files selected for processing (1)
  • config/docker-compose.yml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • config/docker-compose.yml
✨ Finishing Touches
🧪 Generate unit tests
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

coderabbitai[bot] avatar Sep 03 '25 12:09 coderabbitai[bot]