Uses of Interface
org.apache.pulsar.broker.service.Topic.PublishContext
-
Packages that use Topic.PublishContext Package Description org.apache.pulsar.broker.intercept Pulsar broker interceptor.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. -
-
Uses of Topic.PublishContext in org.apache.pulsar.broker.intercept
Methods in org.apache.pulsar.broker.intercept with parameters of type Topic.PublishContext Modifier and Type Method Description default voidBrokerInterceptor. messageProduced(ServerCnx cnx, Producer producer, long startTimeNs, long ledgerId, long entryId, Topic.PublishContext publishContext)Intercept after a message is produced.voidBrokerInterceptors. messageProduced(ServerCnx cnx, Producer producer, long startTimeNs, long ledgerId, long entryId, Topic.PublishContext publishContext)voidBrokerInterceptorWithClassLoader. messageProduced(ServerCnx cnx, Producer producer, long startTimeNs, long ledgerId, long entryId, Topic.PublishContext publishContext) -
Uses of Topic.PublishContext in org.apache.pulsar.broker.rest
Classes in org.apache.pulsar.broker.rest that implement Topic.PublishContext Modifier and Type Class Description classRestMessagePublishContextPublishContext implementation for REST message publishing. -
Uses of Topic.PublishContext in org.apache.pulsar.broker.service
Methods in org.apache.pulsar.broker.service with parameters of type Topic.PublishContext Modifier and Type Method Description voidTopic. publishMessage(io.netty.buffer.ByteBuf headersAndPayload, Topic.PublishContext callback)voidTopic. 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. -
Uses of Topic.PublishContext in org.apache.pulsar.broker.service.nonpersistent
Methods in org.apache.pulsar.broker.service.nonpersistent with parameters of type Topic.PublishContext Modifier and Type Method Description voidNonPersistentTopic. publishMessage(io.netty.buffer.ByteBuf data, Topic.PublishContext callback)voidNonPersistentTopic. publishTxnMessage(org.apache.pulsar.client.api.transaction.TxnID txnID, io.netty.buffer.ByteBuf headersAndPayload, Topic.PublishContext publishContext) -
Uses of Topic.PublishContext in org.apache.pulsar.broker.service.persistent
Classes in org.apache.pulsar.broker.service.persistent that implement Topic.PublishContext Modifier and Type Class Description classReplicatedSubscriptionsControllerEncapsulate all the logic of replicated subscriptions tracking for a given topic.Methods in org.apache.pulsar.broker.service.persistent with parameters of type Topic.PublishContext Modifier and Type Method Description MessageDeduplication.MessageDupStatusMessageDeduplication. isDuplicate(Topic.PublishContext publishContext, io.netty.buffer.ByteBuf headersAndPayload)Assess whether the message was already stored in the topic.voidPersistentTopic. publishMessage(io.netty.buffer.ByteBuf headersAndPayload, Topic.PublishContext publishContext)voidPersistentTopic. publishTxnMessage(org.apache.pulsar.client.api.transaction.TxnID txnID, io.netty.buffer.ByteBuf headersAndPayload, Topic.PublishContext publishContext)voidMessageDeduplication. recordMessagePersisted(Topic.PublishContext publishContext, org.apache.bookkeeper.mledger.impl.PositionImpl position)Call this method whenever a message is persisted to get the chance to trigger a snapshot.
-