类的使用
org.apache.pulsar.common.naming.TopicName
使用TopicName的程序包
程序包
说明
Classes implementing raw API messages.
Classes to work different configuration values.
-
org.apache.pulsar.common.api.raw中TopicName的使用
修饰符和类型方法说明static voidMessageParser.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.ByteBufMessageParser.uncompressPayloadIfNeeded(TopicName topic, MessageMetadata msgMetadata, io.netty.buffer.ByteBuf payload, long ledgerId, long entryId, int maxMessageSize) static booleanMessageParser.verifyChecksum(TopicName topic, io.netty.buffer.ByteBuf headersAndPayload, long ledgerId, long entryId) -
org.apache.pulsar.common.naming中TopicName的使用
修饰符和类型字段说明static final TopicNameSystemTopicNames.RESOURCE_USAGE_TOPICstatic final TopicNameSystemTopicNames.TRANSACTION_COORDINATOR_ASSIGNstatic final TopicNameSystemTopicNames.TRANSACTION_COORDINATOR_LOG修饰符和类型方法说明static TopicNamestatic TopicNamestatic TopicNamestatic TopicNameTopicName.get(String domain, NamespaceName namespaceName, String topic) TopicName.getPartition(int index) static TopicNameTopicName.getPartitionedTopicName(String topic) 参数类型为TopicName的org.apache.pulsar.common.naming中的方法修饰符和类型方法说明booleanbooleanCheck whether a fully-qualified topic is included in thisServiceUnitIdobject.booleanstatic booleanSystemTopicNames.isEventSystemTopic(TopicName topicName) static booleanSystemTopicNames.isSystemTopic(TopicName topicName) static booleanSystemTopicNames.isTransactionCoordinatorAssign(TopicName topicName) static booleanSystemTopicNames.isTransactionInternalName(TopicName topicName)