Class PubSubSinkConfig<T>
java.lang.Object
io.github.flink.gcp.connector.pubsub.sink.PubSubSinkConfig<T>
- Type Parameters:
T- type of the records written by the sink
- All Implemented Interfaces:
Serializable
Immutable sink configuration assembled by
PubSubSinkBuilder.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns whether the sink may create destination topics that do not exist.DestinationResolver<? super T>Returns the per-record destination resolver.Returns the emulator endpoint, ornullfor production Pub/Sub.FailureHandler<? super FailedMessage>Returns the policy for messages that terminally fail to be published.Returns the publisher and writer tuning options.PubSubSerializationSchema<? super T>Returns the record serialization schema.Returns the service-account key-file path, ornullfor ADC.Returns the settings applied to topics the sink creates, ornullfor service defaults.
-
Method Details
-
getDestinationResolver
Returns the per-record destination resolver. -
getSerializer
Returns the record serialization schema. -
getCreateDisposition
Returns whether the sink may create destination topics that do not exist. -
getTopicCreateOptions
Returns the settings applied to topics the sink creates, ornullfor service defaults. -
getPublisherOptions
Returns the publisher and writer tuning options. -
getFailedMessageHandler
Returns the policy for messages that terminally fail to be published. -
getServiceAccountKeyFile
Returns the service-account key-file path, ornullfor ADC. -
getEmulatorEndpoint
Returns the emulator endpoint, ornullfor production Pub/Sub.
-