接口的使用
org.apache.pulsar.common.intercept.BrokerEntryMetadataInterceptor
程序包
说明
Classes needed for broker interceptor.
Common protocol.
-
org.apache.pulsar.common.intercept中BrokerEntryMetadataInterceptor的使用
修饰符和类型类说明classA plugin interface that allows you to intercept the client requests to the Pulsar brokers and add timestamp from broker side metadata for each entry.class修饰符和类型方法说明static Set<BrokerEntryMetadataInterceptor>BrokerEntryMetadataUtils.loadBrokerEntryMetadataInterceptors(Set<String> interceptorNames, ClassLoader classLoader) -
org.apache.pulsar.common.protocol中BrokerEntryMetadataInterceptor的使用
修饰符和类型方法说明static io.netty.buffer.ByteBufCommands.addBrokerEntryMetadata(io.netty.buffer.ByteBuf headerAndPayload, Set<BrokerEntryMetadataInterceptor> interceptors) static io.netty.buffer.ByteBufCommands.addBrokerEntryMetadata(io.netty.buffer.ByteBuf headerAndPayload, Set<BrokerEntryMetadataInterceptor> brokerInterceptors, int numberOfMessages)