接口的使用
org.apache.pulsar.common.api.raw.MessageParser.MessageProcessor
-
org.apache.pulsar.common.api.raw中MessageParser.MessageProcessor的使用
修饰符和类型方法说明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.