public static interface CatalogKafkaSource.Builder extends SdkPojo, CopyableBuilder<CatalogKafkaSource.Builder,CatalogKafkaSource>
| Modifier and Type | Method and Description |
|---|---|
CatalogKafkaSource.Builder |
database(String database)
The name of the database to read from.
|
default CatalogKafkaSource.Builder |
dataPreviewOptions(Consumer<StreamingDataPreviewOptions.Builder> dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
|
CatalogKafkaSource.Builder |
dataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
|
CatalogKafkaSource.Builder |
detectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
|
CatalogKafkaSource.Builder |
name(String name)
The name of the data store.
|
default CatalogKafkaSource.Builder |
streamingOptions(Consumer<KafkaStreamingSourceOptions.Builder> streamingOptions)
Specifies the streaming options.
|
CatalogKafkaSource.Builder |
streamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
|
CatalogKafkaSource.Builder |
table(String table)
The name of the table in the database to read from.
|
CatalogKafkaSource.Builder |
windowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCatalogKafkaSource.Builder name(String name)
The name of the data store.
name - The name of the data store.CatalogKafkaSource.Builder windowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
windowSize - The amount of time to spend processing each micro batch.CatalogKafkaSource.Builder detectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
detectSchema - Whether to automatically determine the schema from the incoming data.CatalogKafkaSource.Builder table(String table)
The name of the table in the database to read from.
table - The name of the table in the database to read from.CatalogKafkaSource.Builder database(String database)
The name of the database to read from.
database - The name of the database to read from.CatalogKafkaSource.Builder streamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
streamingOptions - Specifies the streaming options.default CatalogKafkaSource.Builder streamingOptions(Consumer<KafkaStreamingSourceOptions.Builder> streamingOptions)
Specifies the streaming options.
This is a convenience method that creates an instance of theKafkaStreamingSourceOptions.Builder
avoiding the need to create one manually via KafkaStreamingSourceOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to streamingOptions(KafkaStreamingSourceOptions).
streamingOptions - a consumer that will call methods on KafkaStreamingSourceOptions.BuilderstreamingOptions(KafkaStreamingSourceOptions)CatalogKafkaSource.Builder dataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
dataPreviewOptions - Specifies options related to data preview for viewing a sample of your data.default CatalogKafkaSource.Builder dataPreviewOptions(Consumer<StreamingDataPreviewOptions.Builder> dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
This is a convenience method that creates an instance of theStreamingDataPreviewOptions.Builder
avoiding the need to create one manually via StreamingDataPreviewOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to dataPreviewOptions(StreamingDataPreviewOptions).
dataPreviewOptions - a consumer that will call methods on StreamingDataPreviewOptions.BuilderdataPreviewOptions(StreamingDataPreviewOptions)Copyright © 2023. All rights reserved.