Skip to content

Unhandled system.campaign_updated events go straignt to the fail queue #132

@1v4n4

Description

@1v4n4

When sending events to the "delivery" queue (use case: double opt-in sync with CleverReach), not only the expected supporter.email_status events (eventType: "supporter.email_status") are added to the delivery queue.

There are also "campaign updated" events ( eventType: "system.campaign_updated") which are not handled with proca-queue.

It leads to constant nacking and requeuing of such messages. Nacked messages pile up in a fail queue, and it is almost impossible to distinguish them from messages backed for other reasons.

We need to upgrade proca-queue to handle these messages.

To reproduce run npm run start -- -e hateaid, change any hateaid-test campaigns, and check the 981 fail queue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions