mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 10:26:09 +00:00
MINOR: Remove Delete Events from Workflow Consumer (#19219)
* Remove Delete Events from Workflow Consumer * Remove Delete Events from Workflow Consumer
This commit is contained in:
parent
21ca28782f
commit
1c793cc268
@ -27,11 +27,7 @@ public class WorkflowEventConsumer implements Destination<ChangeEvent> {
|
||||
// TODO: Understand if we need to consider ENTITY_NO_CHANGE, ENTITY_FIELDS_CHANGED or
|
||||
// ENTITY_RESTORED.
|
||||
private static List<EventType> validEventTypes =
|
||||
List.of(
|
||||
EventType.ENTITY_CREATED,
|
||||
EventType.ENTITY_UPDATED,
|
||||
EventType.ENTITY_SOFT_DELETED,
|
||||
EventType.ENTITY_DELETED);
|
||||
List.of(EventType.ENTITY_CREATED, EventType.ENTITY_UPDATED);
|
||||
|
||||
public WorkflowEventConsumer(
|
||||
EventSubscription eventSubscription, SubscriptionDestination subscriptionDestination) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user