| Package | Description |
|---|---|
| org.apache.pulsar.common.api.proto | |
| org.apache.pulsar.common.policies.data |
Definition of different data structures for policies.
|
| org.apache.pulsar.common.protocol |
Common protocol.
|
| Modifier and Type | Method and Description |
|---|---|
CommandSubscribe.SubType |
CommandSubscribe.getSubType() |
static CommandSubscribe.SubType |
CommandSubscribe.SubType.valueOf(int n) |
static CommandSubscribe.SubType |
CommandSubscribe.SubType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandSubscribe.SubType[] |
CommandSubscribe.SubType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CommandSubscribe |
CommandSubscribe.setSubType(CommandSubscribe.SubType subType) |
| Modifier and Type | Field and Description |
|---|---|
CommandSubscribe.SubType |
SubscriptionStats.type
Whether this subscription is Exclusive or Shared or Failover.
|
| Modifier and Type | Field and Description |
|---|---|
Set<CommandSubscribe.SubType> |
Policies.subscription_types_enabled |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
Commands.newSubscribe(String topic,
String subscription,
long consumerId,
long requestId,
CommandSubscribe.SubType subType,
int priorityLevel,
String consumerName,
boolean isDurable,
MessageIdData startMessageId,
Map<String,String> metadata,
boolean readCompacted,
boolean isReplicated,
CommandSubscribe.InitialPosition subscriptionInitialPosition,
long startMessageRollbackDurationInSec,
SchemaInfo schemaInfo,
boolean createTopicIfDoesNotExist) |
static io.netty.buffer.ByteBuf |
Commands.newSubscribe(String topic,
String subscription,
long consumerId,
long requestId,
CommandSubscribe.SubType subType,
int priorityLevel,
String consumerName,
boolean isDurable,
MessageIdData startMessageId,
Map<String,String> metadata,
boolean readCompacted,
boolean isReplicated,
CommandSubscribe.InitialPosition subscriptionInitialPosition,
long startMessageRollbackDurationInSec,
SchemaInfo schemaInfo,
boolean createTopicIfDoesNotExist,
KeySharedPolicy keySharedPolicy) |
static io.netty.buffer.ByteBuf |
Commands.newSubscribe(String topic,
String subscription,
long consumerId,
long requestId,
CommandSubscribe.SubType subType,
int priorityLevel,
String consumerName,
long resetStartMessageBackInSeconds) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.