Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

config.kafka_servers, is that really the right format?

Aperta
#20 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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}" }

Lingua principale
Ruby
Stelle
1
Fork
13
Merge medio
3g 11h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.