Skip to content
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

[#2639] Handler Interceptor support for Dead Letter Processing #2661

Merged
merged 4 commits into from Apr 25, 2023

Conversation

gklijs
Copy link
Contributor

@gklijs gklijs commented Mar 24, 2023

Handler Interceptor support for Dead Letter Processing, using the same interceptors as the processing group.
Fixes #2639

@gklijs gklijs added Type: Feature Use to signal an issue is completely new to the project. Priority 2: Should High priority. Ideally, these issues are part of the release they’re assigned to. Status: In Progress Use to signal this issue is actively worked on. labels Mar 24, 2023
@gklijs gklijs added this to the Release 4.8.0 milestone Mar 24, 2023
@gklijs gklijs self-assigned this Mar 24, 2023
@gklijs gklijs force-pushed the invoke_interceptoers_when_processing_dlq branch from 072f255 to 7f08372 Compare March 24, 2023 11:41
@sonarcloud
Copy link

sonarcloud bot commented Mar 24, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@smcvb smcvb changed the title Handler Interceptor support for Dead Letter Processing [#2639] Handler Interceptor support for Dead Letter Processing Apr 12, 2023
Copy link
Member

@smcvb smcvb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to move the interceptor invocation from the DeadLetteringEventHandlerInvoker to the DeadLetteredEventProcessingTask.

In the invoker, we deal with regular event handling, while the processing task is when we handle a dead letter.
Thus, the former is already covered by MessageHandlerInterceptors, through the Event Processor the invoker's a part of.

@gklijs gklijs force-pushed the invoke_interceptoers_when_processing_dlq branch 2 times, most recently from 3cbeeac to 5a506bc Compare April 20, 2023 13:32
@gklijs gklijs force-pushed the invoke_interceptoers_when_processing_dlq branch from 5a506bc to 4416c44 Compare April 20, 2023 13:44
@gklijs
Copy link
Contributor Author

gklijs commented Apr 20, 2023

The pr was adjusted and can be reviewed again.

Copy link
Member

@smcvb smcvb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor pointers. However, nothing to block over if you ask me. Good job!

gklijs and others added 3 commits April 24, 2023 13:49
…tter/DeadLetteringEventIntegrationTest.java

Co-authored-by: Steven van Beelen <steven.vanbeelen@axoniq.io>
@sonarcloud
Copy link

sonarcloud bot commented Apr 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@gklijs gklijs merged commit 1f8c324 into master Apr 25, 2023
8 checks passed
@gklijs gklijs deleted the invoke_interceptoers_when_processing_dlq branch April 25, 2023 11:25
@gklijs gklijs added Status: Resolved Use to signal that work on this issue is done. and removed Status: In Progress Use to signal this issue is actively worked on. labels Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority 2: Should High priority. Ideally, these issues are part of the release they’re assigned to. Status: Resolved Use to signal that work on this issue is done. Type: Feature Use to signal an issue is completely new to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handler Interceptor support for Dead Letter Processing
2 participants