Uses of Class
org.apache.pulsar.broker.service.ServerCnx
Packages that use ServerCnx
Package
Description
Pulsar broker interceptor.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of ServerCnx in org.apache.pulsar.broker.intercept
Methods in org.apache.pulsar.broker.intercept with parameters of type ServerCnxModifier and TypeMethodDescriptiondefault voidIntercept after a consumer is created.voidvoidBrokerInterceptorWithClassLoader.consumerCreated(ServerCnx cnx, Consumer consumer, Map<String, String> metadata) default voidBrokerInterceptor.messageAcked(ServerCnx cnx, Consumer consumer, org.apache.pulsar.common.api.proto.CommandAck ackCmd) Intercept after a message ack is processed.voidBrokerInterceptors.messageAcked(ServerCnx cnx, Consumer consumer, org.apache.pulsar.common.api.proto.CommandAck ackCmd) voidBrokerInterceptorWithClassLoader.messageAcked(ServerCnx cnx, Consumer consumer, org.apache.pulsar.common.api.proto.CommandAck ackCmd) default voidBrokerInterceptor.messageDispatched(ServerCnx cnx, Consumer consumer, long ledgerId, long entryId, io.netty.buffer.ByteBuf headersAndPayload) Intercept after a message is dispatched to consumer.voidBrokerInterceptors.messageDispatched(ServerCnx cnx, Consumer consumer, long ledgerId, long entryId, io.netty.buffer.ByteBuf headersAndPayload) voidBrokerInterceptorWithClassLoader.messageDispatched(ServerCnx cnx, Consumer consumer, long ledgerId, long entryId, io.netty.buffer.ByteBuf headersAndPayload) default voidBrokerInterceptor.messageProduced(ServerCnx cnx, Producer producer, long startTimeNs, long ledgerId, long entryId, Topic.PublishContext publishContext) Intercept after a message is produced.voidBrokerInterceptors.messageProduced(ServerCnx cnx, Producer producer, long startTimeNs, long ledgerId, long entryId, Topic.PublishContext publishContext) voidBrokerInterceptorWithClassLoader.messageProduced(ServerCnx cnx, Producer producer, long startTimeNs, long ledgerId, long entryId, Topic.PublishContext publishContext) voidBrokerInterceptor.onConnectionClosed(ServerCnx cnx) Called by the broker while connection closed.voidBrokerInterceptors.onConnectionClosed(ServerCnx cnx) voidBrokerInterceptorWithClassLoader.onConnectionClosed(ServerCnx cnx) default voidBrokerInterceptor.onConnectionCreated(ServerCnx cnx) Called by the broker when a new connection is created.voidBrokerInterceptors.onConnectionCreated(ServerCnx cnx) voidBrokerInterceptorWithClassLoader.onConnectionCreated(ServerCnx cnx) voidBrokerInterceptor.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command, ServerCnx cnx) Called by the broker while new command incoming.voidBrokerInterceptors.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command, ServerCnx cnx) voidBrokerInterceptorWithClassLoader.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command, ServerCnx cnx) default voidCalled by the broker when a new connection is created.voidvoidBrokerInterceptorWithClassLoader.producerCreated(ServerCnx cnx, Producer producer, Map<String, String> metadata) -
Uses of ServerCnx in org.apache.pulsar.broker.service
Methods in org.apache.pulsar.broker.service that return ServerCnxModifier and TypeMethodDescriptionprotected ServerCnxPulsarChannelInitializer.newServerCnx(PulsarService pulsar, String listenerName) Constructors in org.apache.pulsar.broker.service with parameters of type ServerCnxModifierConstructorDescriptionPulsarCommandSenderImpl(BrokerInterceptor interceptor, ServerCnx cnx) TopicListService(PulsarService pulsar, ServerCnx connection, boolean enableSubscriptionPatternEvaluation, int maxSubscriptionPatternLength)