public static interface DirectKafkaSource.Builder extends SdkPojo, CopyableBuilder<DirectKafkaSource.Builder,DirectKafkaSource>
| Modifier and Type | Method and Description |
|---|---|
default DirectKafkaSource.Builder |
dataPreviewOptions(Consumer<StreamingDataPreviewOptions.Builder> dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
|
DirectKafkaSource.Builder |
dataPreviewOptions(StreamingDataPreviewOptions dataPreviewOptions)
Specifies options related to data preview for viewing a sample of your data.
|
DirectKafkaSource.Builder |
detectSchema(Boolean detectSchema)
Whether to automatically determine the schema from the incoming data.
|
DirectKafkaSource.Builder |
name(String name)
The name of the data store.
|
default DirectKafkaSource.Builder |
streamingOptions(Consumer<KafkaStreamingSourceOptions.Builder> streamingOptions)
Specifies the streaming options.
|
DirectKafkaSource.Builder |
streamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
|
DirectKafkaSource.Builder |
windowSize(Integer windowSize)
The amount of time to spend processing each micro batch.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDirectKafkaSource.Builder name(String name)
The name of the data store.
name - The name of the data store.DirectKafkaSource.Builder streamingOptions(KafkaStreamingSourceOptions streamingOptions)
Specifies the streaming options.
streamingOptions - Specifies the streaming options.default DirectKafkaSource.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)DirectKafkaSource.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.DirectKafkaSource.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.DirectKafkaSource.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 DirectKafkaSource.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.