Package org.apache.pulsar.client.impl
Class ReaderInterceptorUtil
java.lang.Object
org.apache.pulsar.client.impl.ReaderInterceptorUtil
ReaderInterceptorUtil is used to wrap ReaderInterceptor by ConsumerInterceptor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ConsumerInterceptors<T>
convertToConsumerInterceptors
(org.apache.pulsar.client.api.Reader<T> reader, List<org.apache.pulsar.client.api.ReaderInterceptor<T>> interceptorList)
-
Constructor Details
-
ReaderInterceptorUtil
public ReaderInterceptorUtil()
-
-
Method Details
-
convertToConsumerInterceptors
public static <T> ConsumerInterceptors<T> convertToConsumerInterceptors(org.apache.pulsar.client.api.Reader<T> reader, List<org.apache.pulsar.client.api.ReaderInterceptor<T>> interceptorList)
-