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

Make declarative config YAML parsing and object mapping requirements pluggable via SPI

Aperta
#8,820 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@jack-berg ci sta già lavorando.

Dal 14/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Feature Request

For declarative config is affected. I think a good way to do this is to make the task of taking parsing YAML and/or converting to pojo pluggable via SPI.

Roughly, the process looks like:

Object parsedYaml = org.snakeyaml.engine.v2.api.Load.loadFromInputStream(InputStream);
OpenTelemetryConfigurationModel model = com.fasterxml.jackson.databind.ObjectMapper.convertValue(parsedYaml, OpenTelemetryConfigurationModel.class);
OpenTelemetrySdk openTelemetrySdk = create(model);

So things we need to be pluggable:

  • Parsing YAML InputStream to Object
  • Converting Object to POJO

The serialization stuff in the unsupported OTLP json path adds more complexity since the API surface area of JsonSerializer is large.

Originally posted by @jack-berg in #8533

Lingua principale
Java
Stelle
2.5k
Fork
1k
Merge medio
2g 20h
PR unite (30g)
62

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.

Altre issue di open-telemetry/opentelemetry-java

Tutte le issue di open-telemetry/opentelemetry-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.