Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Add optional catalog field to runs and dlchange topic schemas

Ouverte
#246 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
56/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
json, postgresql, python, yaml
Domaine
api, backend, databases

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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).

Langage dominant
Python
Étoiles
4
Forks
0
Merge moyen
22 h 3 min
PR mergées (30 j)
8

Préparer son environnement

  • Fournit un Dockerfile ou un fichier Docker Compose
  • Propose un modèle de pull request
  • Aucun guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de AbsaOSS/EventGate

Toutes les issues de AbsaOSS/EventGate

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.