Class SinglePartitionPublisher (1.7.0)

Stay organized with collections Save and categorize content based on your preferences.
public class SinglePartitionPublisher extends ProxyService implements Publisher<MessageMetadata>

Inheritance

java.lang.Object > AbstractApiService > ProxyService > SinglePartitionPublisher

Implements

com.google.cloud.pubsublite.internal.Publisher<com.google.cloud.pubsublite.MessageMetadata>

Methods

cancelOutstandingPublishes()

public void cancelOutstandingPublishes()

flush()

public void flush()
Exceptions
TypeDescription
IOException

publish(Message message)

public ApiFuture<MessageMetadata> publish(Message message)
Parameter
NameDescription
messageMessage
Returns
TypeDescription
ApiFuture<MessageMetadata>