Skip to content

Unable to mark events as FAILED in MongoDB event registry via the staleness monitor #1855

Description

@Xadhoodin

When StalenessMonitorConfiguration runs on application startup, it schedules a task to mark stale events as FAILED.

This leverages the method findByStatus(Status status) defined in the EventPublicationRepository interface.

However, MongoDbEventPublicationRepository doesn't implement that method and relies on the default implementation in the said interface, always returning an empty collection. With no events fetched, stale events get never set to FAILED, making reprocessing them impossible

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions