Class PubSubSourceConfig<T>
java.lang.Object
io.github.flink.gcp.connector.pubsub.source.PubSubSourceConfig<T>
- Type Parameters:
T- type of the records produced by the source
- All Implemented Interfaces:
Serializable
Immutable configuration of a Pub/Sub source, assembled by
PubSubSourceBuilder and shipped
in the job graph.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the settings each subscription is created with if it is absent, keyed by subscription.Returns what to do with a message the deserialization schema cannot convert.Returns the deserialization schema.Returns the emulator endpoint, ornullfor production Pub/Sub.Returns the ordering mode.Returns the service-account key-file path, ornullfor ADC.Returns where the source starts consuming.Returns the subscriber tuning options.Returns the subscriptions to consume, in assignment order.
-
Method Details
-
getSubscriptions
Returns the subscriptions to consume, in assignment order. -
getCreateOptions
Returns the settings each subscription is created with if it is absent, keyed by subscription. A subscription missing from this map must already exist. -
getStartPosition
Returns where the source starts consuming. -
getDeserializationSchema
Returns the deserialization schema. -
getOrderingMode
Returns the ordering mode. -
getSubscriberOptions
Returns the subscriber tuning options. -
getDeserializationFailurePolicy
Returns what to do with a message the deserialization schema cannot convert. -
getServiceAccountKeyFile
Returns the service-account key-file path, ornullfor ADC. -
getEmulatorEndpoint
Returns the emulator endpoint, ornullfor production Pub/Sub.
-