| Package | Description |
|---|---|
| org.apache.pulsar.broker.intercept |
Pulsar broker interceptor.
|
| org.apache.pulsar.broker.service |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrokerInterceptors.consumerCreated(ServerCnx cnx,
Consumer consumer,
Map<String,String> metadata) |
default void |
BrokerInterceptor.consumerCreated(ServerCnx cnx,
Consumer consumer,
Map<String,String> metadata)
Intercept after a consumer is created.
|
void |
BrokerInterceptorWithClassLoader.consumerCreated(ServerCnx cnx,
Consumer consumer,
Map<String,String> metadata) |
void |
BrokerInterceptors.messageAcked(ServerCnx cnx,
Consumer consumer,
org.apache.pulsar.common.api.proto.CommandAck ackCmd) |
default void |
BrokerInterceptor.messageAcked(ServerCnx cnx,
Consumer consumer,
org.apache.pulsar.common.api.proto.CommandAck ackCmd)
Intercept after a message ack is processed.
|
void |
BrokerInterceptorWithClassLoader.messageAcked(ServerCnx cnx,
Consumer consumer,
org.apache.pulsar.common.api.proto.CommandAck ackCmd) |
void |
BrokerInterceptors.messageDispatched(ServerCnx cnx,
Consumer consumer,
long ledgerId,
long entryId,
io.netty.buffer.ByteBuf headersAndPayload) |
default void |
BrokerInterceptor.messageDispatched(ServerCnx cnx,
Consumer consumer,
long ledgerId,
long entryId,
io.netty.buffer.ByteBuf headersAndPayload)
Intercept after a message is dispatched to consumer.
|
void |
BrokerInterceptorWithClassLoader.messageDispatched(ServerCnx cnx,
Consumer consumer,
long ledgerId,
long entryId,
io.netty.buffer.ByteBuf headersAndPayload) |
void |
BrokerInterceptors.messageProduced(ServerCnx cnx,
Producer producer,
long startTimeNs,
long ledgerId,
long entryId,
Topic.PublishContext publishContext) |
default void |
BrokerInterceptor.messageProduced(ServerCnx cnx,
Producer producer,
long startTimeNs,
long ledgerId,
long entryId,
Topic.PublishContext publishContext)
Intercept after a message is produced.
|
void |
BrokerInterceptorWithClassLoader.messageProduced(ServerCnx cnx,
Producer producer,
long startTimeNs,
long ledgerId,
long entryId,
Topic.PublishContext publishContext) |
void |
BrokerInterceptors.onConnectionClosed(ServerCnx cnx) |
void |
BrokerInterceptor.onConnectionClosed(ServerCnx cnx)
Called by the broker while connection closed.
|
void |
BrokerInterceptor.BrokerInterceptorDisabled.onConnectionClosed(ServerCnx cnx) |
void |
BrokerInterceptorWithClassLoader.onConnectionClosed(ServerCnx cnx) |
void |
BrokerInterceptors.onConnectionCreated(ServerCnx cnx) |
default void |
BrokerInterceptor.onConnectionCreated(ServerCnx cnx)
Called by the broker when a new connection is created.
|
void |
BrokerInterceptorWithClassLoader.onConnectionCreated(ServerCnx cnx) |
void |
BrokerInterceptors.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command,
ServerCnx cnx) |
void |
BrokerInterceptor.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command,
ServerCnx cnx)
Called by the broker while new command incoming.
|
void |
BrokerInterceptor.BrokerInterceptorDisabled.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command,
ServerCnx cnx) |
void |
BrokerInterceptorWithClassLoader.onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command,
ServerCnx cnx) |
void |
BrokerInterceptors.producerCreated(ServerCnx cnx,
Producer producer,
Map<String,String> metadata) |
default void |
BrokerInterceptor.producerCreated(ServerCnx cnx,
Producer producer,
Map<String,String> metadata)
Called by the broker when a new connection is created.
|
void |
BrokerInterceptorWithClassLoader.producerCreated(ServerCnx cnx,
Producer producer,
Map<String,String> metadata) |
| Modifier and Type | Method and Description |
|---|---|
protected ServerCnx |
PulsarChannelInitializer.newServerCnx(PulsarService pulsar,
String listenerName) |
| Constructor and Description |
|---|
PulsarCommandSenderImpl(BrokerInterceptor interceptor,
ServerCnx cnx) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.