| Package | Description |
|---|---|
| org.apache.pulsar.broker.rest |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service.nonpersistent |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.service.persistent |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RestMessagePublishContext
PublishContext implementation for REST message publishing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Topic.publishMessage(io.netty.buffer.ByteBuf headersAndPayload,
Topic.PublishContext callback) |
void |
Topic.publishTxnMessage(org.apache.pulsar.client.api.transaction.TxnID txnID,
io.netty.buffer.ByteBuf headersAndPayload,
Topic.PublishContext publishContext)
Publish Transaction message to this Topic's TransactionBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NonPersistentTopic.publishMessage(io.netty.buffer.ByteBuf data,
Topic.PublishContext callback) |
void |
NonPersistentTopic.publishTxnMessage(org.apache.pulsar.client.api.transaction.TxnID txnID,
io.netty.buffer.ByteBuf headersAndPayload,
Topic.PublishContext publishContext) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReplicatedSubscriptionsController
Encapsulate all the logic of replicated subscriptions tracking for a given topic.
|
| Modifier and Type | Method and Description |
|---|---|
MessageDeduplication.MessageDupStatus |
MessageDeduplication.isDuplicate(Topic.PublishContext publishContext,
io.netty.buffer.ByteBuf headersAndPayload)
Assess whether the message was already stored in the topic.
|
void |
PersistentTopic.publishMessage(io.netty.buffer.ByteBuf headersAndPayload,
Topic.PublishContext publishContext) |
void |
PersistentTopic.publishTxnMessage(org.apache.pulsar.client.api.transaction.TxnID txnID,
io.netty.buffer.ByteBuf headersAndPayload,
Topic.PublishContext publishContext) |
void |
MessageDeduplication.recordMessagePersisted(Topic.PublishContext publishContext,
PositionImpl position)
Call this method whenever a message is persisted to get the chance to trigger a snapshot.
|
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.