Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

config.kafka_servers, is that really the right format?

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
ruby
領域
backend

調査の方向性

Inspect lib/clowder-common-ruby/config.rb at line 34 first, then compare the generated broker value with ruby-kafka’s documented format. The linked compliance-backend initializer shows the current workaround. Done means config.kafka_servers produces entries like kafka:29092 without the extra curly braces.

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

説明

See https://github.com/RedHatInsights/clowder-common-ruby/blob/a83bc28582dc0ac218ce1e011ed4ddaea1814f98/lib/clowder-common-ruby/config.rb#L34

This produces servers like this:

["{kafka}:{29092}"]

What's up with the extra curly braces? We (compliance-backend) use ruby-kafka which expects the more common ['kafka:29092']. We've resorted to mapping over the brokers: kafka.brokers.map { |b| "#{b.hostname}:#{b.port}" }

主要言語
Ruby
スター
1
フォーク
13
平均マージ
3日 11時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

似ている issue

Ruby の issue をもっと見る

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

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