| Package | Description |
|---|---|
| org.apache.pulsar.common.api.raw |
Classes implementing raw API messages.
|
| org.apache.pulsar.common.naming |
Classes to work different configuration values.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MessageParser.parseMessage(TopicName topicName,
long ledgerId,
long entryId,
io.netty.buffer.ByteBuf headersAndPayload,
MessageParser.MessageProcessor processor,
int maxMessageSize)
Parse a raw Pulsar entry payload and extract all the individual message that may be included in the batch.
|
static io.netty.buffer.ByteBuf |
MessageParser.uncompressPayloadIfNeeded(TopicName topic,
MessageMetadata msgMetadata,
io.netty.buffer.ByteBuf payload,
long ledgerId,
long entryId,
int maxMessageSize) |
static boolean |
MessageParser.verifyChecksum(TopicName topic,
io.netty.buffer.ByteBuf headersAndPayload,
long ledgerId,
long entryId) |
| Modifier and Type | Field and Description |
|---|---|
static TopicName |
TopicName.TRANSACTION_COORDINATOR_ASSIGN |
| Modifier and Type | Method and Description |
|---|---|
static TopicName |
TopicName.get(String topic) |
static TopicName |
TopicName.get(String domain,
NamespaceName namespaceName,
String topic) |
static TopicName |
TopicName.get(String domain,
String tenant,
String namespace,
String topic) |
static TopicName |
TopicName.get(String domain,
String tenant,
String cluster,
String namespace,
String topic) |
TopicName |
TopicName.getPartition(int index) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NamespaceName.includes(TopicName topicName) |
boolean |
ServiceUnitId.includes(TopicName topicName)
Check whether a fully-qualified topic is included in this
ServiceUnitId object. |
boolean |
TopicName.includes(TopicName otherTopicName) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.