Uses of Interface
org.apache.pulsar.client.api.MessageBuilder
Packages that use MessageBuilder
Package
Description
Pulsar Client API.
Pulsar Client API.
-
Uses of MessageBuilder in org.apache.pulsar.client.api
Methods in org.apache.pulsar.client.api that return MessageBuilderModifier and TypeMethodDescriptionstatic MessageBuilderMessageBuilder.create()Deprecated.MessageBuilder.disableReplication()Deprecated.Disable replication for this message.MessageBuilder.setContent(byte[] data) Deprecated.Set the content of the message.MessageBuilder.setContent(byte[] data, int offset, int length) Deprecated.Set the content of the message.MessageBuilder.setContent(ByteBuffer buf) Deprecated.Set the content of the message.MessageBuilder.setEventTime(long timestamp) Deprecated.Set the event time for a given message.Deprecated.Sets the key of the message for routing policy.MessageBuilder.setProperties(Map<String, String> properties) Deprecated.Add all the properties in the provided map.MessageBuilder.setProperty(String name, String value) Deprecated.Sets a new property on a message.MessageBuilder.setReplicationClusters(List<String> clusters) Deprecated.Override the replication clusters for this message.MessageBuilder.setSequenceId(long sequenceId) Deprecated.Specify a custom sequence id for the message being published. -
Uses of MessageBuilder in org.apache.pulsar.client.impl
Classes in org.apache.pulsar.client.impl that implement MessageBuilderMethods in org.apache.pulsar.client.impl that return MessageBuilderModifier and TypeMethodDescriptionMessageBuilderImpl.disableReplication()MessageBuilderImpl.setContent(byte[] data) MessageBuilderImpl.setContent(byte[] data, int offet, int length) MessageBuilderImpl.setContent(ByteBuffer buf) MessageBuilderImpl.setEventTime(long timestamp) MessageBuilderImpl.setProperties(Map<String, String> properties) MessageBuilderImpl.setProperty(String name, String value) MessageBuilderImpl.setReplicationClusters(List<String> clusters) MessageBuilderImpl.setSequenceId(long sequenceId)