| 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 |
|---|---|
PulsarApi.CommandSubscribe.SubType |
PulsarApi.CommandSubscribeOrBuilder.getSubType() |
PulsarApi.CommandSubscribe.SubType |
PulsarApi.CommandSubscribe.getSubType() |
PulsarApi.CommandSubscribe.SubType |
PulsarApi.CommandSubscribe.Builder.getSubType() |
static PulsarApi.CommandSubscribe.SubType |
PulsarApi.CommandSubscribe.SubType.valueOf(int value) |
static PulsarApi.CommandSubscribe.SubType |
PulsarApi.CommandSubscribe.SubType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PulsarApi.CommandSubscribe.SubType[] |
PulsarApi.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 |
|---|---|
static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.CommandSubscribe.SubType> |
PulsarApi.CommandSubscribe.SubType.internalGetValueMap() |
| Modifier and Type | Method and Description |
|---|---|
PulsarApi.CommandSubscribe.Builder |
PulsarApi.CommandSubscribe.Builder.setSubType(PulsarApi.CommandSubscribe.SubType value) |
| Modifier and Type | Field and Description |
|---|---|
PulsarApi.CommandSubscribe.SubType |
SubscriptionStats.type
Whether this subscription is Exclusive or Shared or Failover.
|
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
Commands.newSubscribe(String topic,
String subscription,
long consumerId,
long requestId,
PulsarApi.CommandSubscribe.SubType subType,
int priorityLevel,
String consumerName,
boolean isDurable,
PulsarApi.MessageIdData startMessageId,
Map<String,String> metadata,
boolean readCompacted,
boolean isReplicated,
PulsarApi.CommandSubscribe.InitialPosition subscriptionInitialPosition,
long startMessageRollbackDurationInSec,
SchemaInfo schemaInfo,
boolean createTopicIfDoesNotExist) |
static io.netty.buffer.ByteBuf |
Commands.newSubscribe(String topic,
String subscription,
long consumerId,
long requestId,
PulsarApi.CommandSubscribe.SubType subType,
int priorityLevel,
String consumerName,
boolean isDurable,
PulsarApi.MessageIdData startMessageId,
Map<String,String> metadata,
boolean readCompacted,
boolean isReplicated,
PulsarApi.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,
PulsarApi.CommandSubscribe.SubType subType,
int priorityLevel,
String consumerName,
long resetStartMessageBackInSeconds) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.