Class PslWriteDataSourceOptions (1.0.0)

public abstract class PslWriteDataSourceOptions implements Serializable

Inheritance

java.lang.Object > PslWriteDataSourceOptions

Implements

Serializable

Static Methods

builder()

public static PslWriteDataSourceOptions.Builder builder()
Returns
TypeDescription
PslWriteDataSourceOptions.Builder

fromProperties(Map<String,String> properties)

public static PslWriteDataSourceOptions fromProperties(Map<String,String> properties)
Parameter
NameDescription
propertiesMap<String,String>
Returns
TypeDescription
PslWriteDataSourceOptions

Constructors

PslWriteDataSourceOptions()

public PslWriteDataSourceOptions()

Methods

createNewPublisher()

public Publisher<MessageMetadata> createNewPublisher()
Returns
TypeDescription
com.google.cloud.pubsublite.internal.Publisher<com.google.cloud.pubsublite.MessageMetadata>

credentialsKey()

public abstract String credentialsKey()
Returns
TypeDescription
String

getCredentialProvider()

public PslCredentialsProvider getCredentialProvider()
Returns
TypeDescription
PslCredentialsProvider

topicPath()

public abstract TopicPath topicPath()
Returns
TypeDescription
com.google.cloud.pubsublite.TopicPath