-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Background
This issue should implement sending a copy of the message from the EventGate Lambda to a database (e.g. Aurora / PostgreSQL)
Probably the target database can be generalized as just a configurable jdbc connection, no need to make it more specific.
The table schema should be similar like for the Kafka topic.
If possible, the script should handle the table creation. The jobs field can be mapped to a json field, so there will be only one table for the runs topic. But it could also be normalized to a child table, if that's preferred.
The database itself should be spun up probably as part of the deployment terraform scripts
Use cases
- As a support user for an internal application, I'd like to connect to the database and write (ad-hoc) SQL queries on my laptop to get the failed pipelines and their failure reasons of the last 24 hours, which I will then post on a teams channel once a day. I'm capable of using a DB client and writing SQL
- As the internal application, we'd like to query the runs status table to show the executions of the last 90 days per pipeline. We'd like to display job catalog id, start time, end time, and the job status, filtered by tenant id and job catalog id. To do this, we may want to connect directly to the DB, or use basic BI tool in between (like Metabase)
- There is no need to keep the data for longer than 90 days in the database, to avoid unbounded data growth. Archiving the data can be achieved with the internal application.
Feature
A description of the requested feature.
Example [Optional]
A simple example if applicable.
Proposed Solution [Optional]
Solution Ideas:
1.
2.
3.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request