mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-07 09:09:30 +00:00

* fix getSuccessfullySentChangeEventsForAlert * migrations. * offset-based pagination * add startingOffset in EventSubscriptionDiagnosticInfo * fix missing paginationOffset * Record successfully sent change events in a separate table, clean up associated successful and failed records on alert deletion. * Remove oldest 30 records if record count reaches 100 for successful_sent_change_events. * list unprocessed changeEvents based on alert subscription rules, ensuring only relevant unprocessed events are listed. * refactor: enhance eventSubscriptionDiagnosticInfo Added new fields to the eventSubscriptionDiagnosticInfo schema to support detailed diagnostics: - `relevantUnprocessedEventsCount`: Count of relevant unprocessed events based on alert filtering rules. - `relevantUnprocessedEventsList`: List of relevant unprocessed events based on alert filtering rules. - `totalUnprocessedEventsCount`: Count of all unprocessed events. - `totalUnprocessedEventsList`: List of all unprocessed events. * Refactor: delete 30 oldest records per alert when the count reaches 100 records * fix: table creation issue in PostgreSQL * fix tests. * scheduleCleanupJob * remove in-line deletion of records. * fix postgres table structure issue.