testcontainers / testcontainers/testcontainers-python

Kafka - NoBrokerAvailable

オープン
#223 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

👀 requires attention 📦 package: kafka
主要言語
Python
スター
2.3k
フォーク
386
平均マージ
4時間 40分
マージ済み PR(30日)
1

説明

Hi, I'm currently working on testing kafka broker / topic and payload for integration testing, I just want to know that to spin up the kafka docker container, I first have to install kafka broker locally right? Because when I run the following code:
with KafkaContainer('confluentinc/cp-kafka:5.4.3') as kafka_container: bluhbluhbluh.....
a specific kafka gets started, and is waiting to be ready, but then it throws NoBrokerAvailable exception after sine time, so the program stops at the with statement, and the "bluhbluhbluh" part doesn't get executed.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず KafkaContainer('confluentinc/cp-kafka:5.4.3') の統合セットアップを再現し、readiness が NoBrokerAvailable で終了する理由を調査します。ローカルの Kafka インストールが必要かどうかを確認してください。コンテナが使用可能になり、with 文の後のコードがその例外なしで実行されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, kafka, python
領域
distributed-systems, infrastructure, testing
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。