Package io.sentry.spring7.kafka
Class SentryKafkaConsumerBeanPostProcessor
java.lang.Object
io.sentry.spring7.kafka.SentryKafkaConsumerBeanPostProcessor
- All Implemented Interfaces:
BeanPostProcessor,Ordered,PriorityOrdered
@Internal
public final class SentryKafkaConsumerBeanPostProcessor
extends Object
implements BeanPostProcessor, PriorityOrdered
Registers
SentryKafkaRecordInterceptor on AbstractKafkaListenerContainerFactory
beans. If an existing RecordInterceptor is already set, it is composed as a delegate.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()@NotNull ObjectpostProcessAfterInitialization(@NotNull Object bean, @NotNull String beanName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
-
Constructor Details
-
SentryKafkaConsumerBeanPostProcessor
public SentryKafkaConsumerBeanPostProcessor()
-
-
Method Details
-
postProcessAfterInitialization
@NotNull public @NotNull Object postProcessAfterInitialization(@NotNull @NotNull Object bean, @NotNull @NotNull String beanName) throws BeansException - Specified by:
postProcessAfterInitializationin interfaceBeanPostProcessor- Throws:
BeansException
-
getOrder
public int getOrder()
-