Skip to content

Spring Modulith - Where Are Failed Publications Saved? #1101

@har95337

Description

@har95337

Hello,

I am using modulith and Spring Application Events in my project and some listeners are going to be calling a flaky API. Since we expect some publications to fail, we wanted to take advantage of republishing failed events. However, in documentation, I don’t see WHERE failed events are persisted.

“IncompleteEventPublications — This interface allows accessing all incomplete event publications to resubmit either the ones matching a given predicate or older than a given Duration relative to the original publishing date.
Event Publication Completion
Event publications are marked as completed when a transactional or @ApplicationModuleListener execution completes successfully. By default, the completion is registered by …”

This comes from https://docs.spring.io/spring-modulith/reference/events.html

I believe this is missing information from the doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions