Skip to content

Detect events to be externalized not published within a transaction #1123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
odrotbohm opened this issue Mar 23, 2025 · 0 comments
Open

Detect events to be externalized not published within a transaction #1123

odrotbohm opened this issue Mar 23, 2025 · 0 comments
Assignees
Labels
in: event publication registry Event publication registry type: improvement Minor improvements

Comments

@odrotbohm
Copy link
Member

odrotbohm commented Mar 23, 2025

If an event selected for externalization is published outside a transaction, the externalization does not get triggered as it's executed via a @TransactionalEventListener. As we already deploy a dedicated multicaster handling all events, we could detect that problem and issue a warning log hinting at the problem.

@odrotbohm odrotbohm added in: event publication registry Event publication registry type: improvement Minor improvements labels Mar 23, 2025
@odrotbohm odrotbohm self-assigned this Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: event publication registry Event publication registry type: improvement Minor improvements
Projects
None yet
Development

No branches or pull requests

1 participant