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

Add optional catalog field to runs and dlchange topic schemas

Aperta
#246 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
json, postgresql, python, yaml
Ambito
api, backend, databases

Direzione di ricerca

Start with conf/topic_schemas/runs.json and conf/topic_schemas/dlchange.json, then trace where catalog_id is persisted in the Postgres writer and database schema. Check api.yaml, related tests, documentation, and example payloads for the same field. Done when both schemas accept an optional free-form string, persistence and API handling are updated, and events without catalog remain valid.

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

Descrizione

enhancement
Feature Description

Add an optional catalog string field to the event bus schemas (ADR 009, V4):

  • conf/topic_schemas/runs.json: inside each jobs[] item, next to catalog_id
  • conf/topic_schemas/dlchange.json: top level, next to catalog_id

Description: "Specifies the catalog name: glue, hive, starburst, etc. Since same catalog_id can exist in multiple catalogs". Free-form string; the listed values are examples, not an enum.

Problem / Opportunity

The same catalog_id can exist in multiple catalogs (glue, hive, starburst, ...), so catalog_id alone is ambiguous for consumers, dashboards and event-based triggering.

Acceptance Criteria
  1. runs.json job items and dlchange.json accept an optional catalog string.
  2. Values are not restricted to glue/hive/starburst.
  3. Events without catalog stay valid (backward compatible); the field is not added to required.
  4. Postgres writer, DB migration, api.yaml, tests and docs handle the new field (persisted wherever catalog_id is persisted).
  5. Example payloads are updated.
Proposed Solution

Add the property to both schemas, extend the writer and add a migration (nullable column), update api.yaml and tests.

Dependencies / Related

ADR 009 - Event Bus - Run and EDLA topics (V4 proposal).

Lingua principale
Python
Stelle
4
Fork
0
Merge medio
22h 3m
PR unite (30g)
8

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 AbsaOSS/EventGate

Tutte le issue di AbsaOSS/EventGate

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.