How to inject Producer to Interceptor in a custom extension #31742
Unanswered
mariuszbozek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a problem with the right implementation of Interceptor in my custom extension.
In my interceptor, I would like to inject my custom producer (with Kafka producer) but when I use this extension in my application on startup this custom producer is always null and nothing happens when the @AroundInvoke method in the interceptor is invoked.
How I should build my extension to be sure that on run time in the interceptor, a producer is already initialized
Beta Was this translation helpful? Give feedback.
All reactions