Class StreamsConfigBuilder
Builder for StreamsConfig
public class StreamsConfigBuilder : CommonClientConfigsBuilder<StreamsConfigBuilder>, INotifyPropertyChanged, IGenericSerDesFactory, IDisposable
- Inheritance
-
StreamsConfigBuilder
- Implements
- Inherited Members
Properties
AcceptableRecoveryLag
Manages ACCEPTABLE_RECOVERY_LAG_CONFIG
public long AcceptableRecoveryLag { get; set; }
Property Value
ApplicationId
Manages APPLICATION_ID_CONFIG
public string ApplicationId { get; set; }
Property Value
ApplicationServer
Manages APPLICATION_SERVER_CONFIG
public string ApplicationServer { get; set; }
Property Value
BufferedRecordsPerPartition
public int BufferedRecordsPerPartition { get; set; }
Property Value
BuiltInMetricsVersion
Manages BUILT_IN_METRICS_VERSION_CONFIG
public string BuiltInMetricsVersion { get; set; }
Property Value
CommitIntervalMs
Manages COMMIT_INTERVAL_MS_CONFIG
public long CommitIntervalMs { get; set; }
Property Value
DSLStoreSuppliersClass
Manages DSL_STORE_SUPPLIERS_CLASS_CONFIG: use ROCKS_DB or IN_MEMORY
public Class DSLStoreSuppliersClass { get; set; }
Property Value
DefaultDeserializationExceptionHandlerClass
public Class DefaultDeserializationExceptionHandlerClass { get; set; }
Property Value
DefaultKeySerdeClass
Manages DEFAULT_KEY_SERDE_CLASS_CONFIG
public Class DefaultKeySerdeClass { get; set; }
Property Value
DefaultProductionExceptionHandlerClass
public Class DefaultProductionExceptionHandlerClass { get; set; }
Property Value
DefaultTimestampExtractorClass
public Class DefaultTimestampExtractorClass { get; set; }
Property Value
DefaultValueSerdeClass
Manages DEFAULT_VALUE_SERDE_CLASS_CONFIG
public Class DefaultValueSerdeClass { get; set; }
Property Value
MaxTaskIdleMs
Manages MAX_TASK_IDLE_MS_CONFIG
public long MaxTaskIdleMs { get; set; }
Property Value
MaxWarmupReplicas
Manages MAX_WARMUP_REPLICAS_CONFIG
public int MaxWarmupReplicas { get; set; }
Property Value
NumStandByReplicas
Manages NUM_STANDBY_REPLICAS_CONFIG
public int NumStandByReplicas { get; set; }
Property Value
NumStreamThreads
Manages NUM_STREAM_THREADS_CONFIG
public int NumStreamThreads { get; set; }
Property Value
PollMs
Manages POLL_MS_CONFIG
public long PollMs { get; set; }
Property Value
ProbingRebalanceIntervalMs
public long ProbingRebalanceIntervalMs { get; set; }
Property Value
ProcessingGuarantee
Manages PROCESSING_GUARANTEE_CONFIG: use AT_LEAST_ONCE or EXACTLY_ONCE_V2
public string ProcessingGuarantee { get; set; }
Property Value
RackAwareAssignmentNonOverlapCost
public int RackAwareAssignmentNonOverlapCost { get; set; }
Property Value
RackAwareAssignmentStrategy
Manages RACK_AWARE_ASSIGNMENT_STRATEGY_CONFIG: use RACK_AWARE_ASSIGNMENT_STRATEGY_NONE or RACK_AWARE_ASSIGNMENT_STRATEGY_MIN_TRAFFIC
public string RackAwareAssignmentStrategy { get; set; }
Property Value
RackAwareAssignmentTags
public List<string> RackAwareAssignmentTags { get; set; }
Property Value
RackAwareAssignmentTrafficCost
public int RackAwareAssignmentTrafficCost { get; set; }
Property Value
RepartitionPurgeIntervalMs
public long RepartitionPurgeIntervalMs { get; set; }
Property Value
ReplicationFactor
Manages REPLICATION_FACTOR_CONFIG
public int ReplicationFactor { get; set; }
Property Value
RocksDbConfigSetterClass
public Class RocksDbConfigSetterClass { get; set; }
Property Value
StateCleanupDelayMs
Manages STATE_CLEANUP_DELAY_MS_CONFIG
public long StateCleanupDelayMs { get; set; }
Property Value
StateDir
Manages STATE_DIR_CONFIG
public string StateDir { get; set; }
Property Value
StateStoreMaxBytesBuffering
public long StateStoreMaxBytesBuffering { get; set; }
Property Value
TaskTimeoutMs
Manages TASK_TIMEOUT_MS_CONFIG
public long TaskTimeoutMs { get; set; }
Property Value
TopologyOptimization
Manages TOPOLOGY_OPTIMIZATION_CONFIG: use OPTIMIZE or NO_OPTIMIZATION
public bool TopologyOptimization { get; set; }
Property Value
UpgradeFrom
Manages UPGRADE_FROM_CONFIG
public string UpgradeFrom { get; set; }
Property Value
WindowSizeMs
Manages WINDOW_SIZE_MS_CONFIG
public long WindowSizeMs { get; set; }
Property Value
WindowStoreChangeLogAdditionalRetentionMs
public long WindowStoreChangeLogAdditionalRetentionMs { get; set; }
Property Value
WindowedInnerClassSerde
Manages WINDOWED_INNER_CLASS_SERDE
public string WindowedInnerClassSerde { get; set; }
Property Value
Methods
WithAcceptableRecoveryLag(long)
Manages ACCEPTABLE_RECOVERY_LAG_CONFIG
public StreamsConfigBuilder WithAcceptableRecoveryLag(long acceptableRecoveryLag)
Parameters
acceptableRecoveryLag
long
Returns
WithApplicationId(string)
Manages APPLICATION_ID_CONFIG
public StreamsConfigBuilder WithApplicationId(string applicationId)
Parameters
applicationId
string
Returns
WithApplicationServer(string)
Manages APPLICATION_SERVER_CONFIG
public StreamsConfigBuilder WithApplicationServer(string applicationServer)
Parameters
applicationServer
string
Returns
WithBufferedRecordsPerPartition(int)
public StreamsConfigBuilder WithBufferedRecordsPerPartition(int bufferedRecordsPerPartition)
Parameters
bufferedRecordsPerPartition
int
Returns
WithBuiltInMetricsVersion(string)
Manages BUILT_IN_METRICS_VERSION_CONFIG
public StreamsConfigBuilder WithBuiltInMetricsVersion(string builtInMetricsVersion)
Parameters
builtInMetricsVersion
string
Returns
WithCommitIntervalMs(long)
Manages COMMIT_INTERVAL_MS_CONFIG
public StreamsConfigBuilder WithCommitIntervalMs(long commitIntervalMs)
Parameters
commitIntervalMs
long
Returns
WithDSLStoreSuppliersClass(Class)
Manages DSL_STORE_SUPPLIERS_CLASS_CONFIG: use ROCKS_DB or IN_MEMORY
public StreamsConfigBuilder WithDSLStoreSuppliersClass(Class dSLStoreSuppliersClass)
Parameters
dSLStoreSuppliersClass
Class
Returns
WithDefaultDeserializationExceptionHandlerClass(Class)
public StreamsConfigBuilder WithDefaultDeserializationExceptionHandlerClass(Class defaultDeserializationExceptionHandlerClass)
Parameters
defaultDeserializationExceptionHandlerClass
Class
Returns
WithDefaultKeySerdeClass(Class)
Manages DEFAULT_KEY_SERDE_CLASS_CONFIG
public StreamsConfigBuilder WithDefaultKeySerdeClass(Class defaultKeySerdeClass)
Parameters
defaultKeySerdeClass
Class
Returns
WithDefaultProductionExceptionHandlerClass(Class)
public StreamsConfigBuilder WithDefaultProductionExceptionHandlerClass(Class defaultProductionExceptionHandlerClass)
Parameters
defaultProductionExceptionHandlerClass
Class
Returns
WithDefaultTimestampExtractorClass(Class)
public StreamsConfigBuilder WithDefaultTimestampExtractorClass(Class defaultTimestampExtractorClass)
Parameters
defaultTimestampExtractorClass
Class
Returns
WithDefaultValueSerdeClass(Class)
Manages DEFAULT_VALUE_SERDE_CLASS_CONFIG
public StreamsConfigBuilder WithDefaultValueSerdeClass(Class defaultValueSerdeClass)
Parameters
defaultValueSerdeClass
Class
Returns
WithMaxTaskIdleMs(long)
Manages MAX_TASK_IDLE_MS_CONFIG
public StreamsConfigBuilder WithMaxTaskIdleMs(long maxTaskIdleMs)
Parameters
maxTaskIdleMs
long
Returns
WithMaxWarmupReplicas(int)
Manages MAX_WARMUP_REPLICAS_CONFIG
public StreamsConfigBuilder WithMaxWarmupReplicas(int maxWarmupReplicas)
Parameters
maxWarmupReplicas
int
Returns
WithNumStandByReplicas(int)
Manages NUM_STANDBY_REPLICAS_CONFIG
public StreamsConfigBuilder WithNumStandByReplicas(int numStandByReplicas)
Parameters
numStandByReplicas
int
Returns
WithNumStreamThreads(int)
Manages NUM_STREAM_THREADS_CONFIG
public StreamsConfigBuilder WithNumStreamThreads(int numStreamThreads)
Parameters
numStreamThreads
int
Returns
WithPollMs(long)
Manages POLL_MS_CONFIG
public StreamsConfigBuilder WithPollMs(long pollMs)
Parameters
pollMs
long
Returns
WithProbingRebalanceIntervalMs(long)
public StreamsConfigBuilder WithProbingRebalanceIntervalMs(long probingRebalanceIntervalMs)
Parameters
probingRebalanceIntervalMs
long
Returns
WithProcessingGuarantee(string)
Manages PROCESSING_GUARANTEE_CONFIG: use AT_LEAST_ONCE or EXACTLY_ONCE_V2
public StreamsConfigBuilder WithProcessingGuarantee(string processingGuarantee)
Parameters
processingGuarantee
string
Returns
WithRackAwareAssignmentNonOverlapCost(int)
public StreamsConfigBuilder WithRackAwareAssignmentNonOverlapCost(int rackAwareAssignmentNonOverlapCost)
Parameters
rackAwareAssignmentNonOverlapCost
int
Returns
WithRackAwareAssignmentStrategy(string)
Manages RACK_AWARE_ASSIGNMENT_NON_OVERLAP_COST_CONFIG: use RACK_AWARE_ASSIGNMENT_STRATEGY_NONE or RACK_AWARE_ASSIGNMENT_STRATEGY_MIN_TRAFFIC
public StreamsConfigBuilder WithRackAwareAssignmentStrategy(string rackAwareAssignmentStrategy)
Parameters
rackAwareAssignmentStrategy
string
Returns
WithRackAwareAssignmentTags(List<string>)
public StreamsConfigBuilder WithRackAwareAssignmentTags(List<string> rackAwareAssignmentTags)
Parameters
Returns
WithRackAwareAssignmentTrafficCost(int)
public StreamsConfigBuilder WithRackAwareAssignmentTrafficCost(int rackAwareAssignmentTrafficCost)
Parameters
rackAwareAssignmentTrafficCost
int
Returns
WithRepartitionPurgeIntervalMs(long)
public StreamsConfigBuilder WithRepartitionPurgeIntervalMs(long repartitionPurgeIntervalMs)
Parameters
repartitionPurgeIntervalMs
long
Returns
WithReplicationFactor(int)
Manages REPLICATION_FACTOR_CONFIG
public StreamsConfigBuilder WithReplicationFactor(int replicationFactor)
Parameters
replicationFactor
int
Returns
WithRocksDbConfigSetterClass(Class)
public StreamsConfigBuilder WithRocksDbConfigSetterClass(Class rocksDbConfigSetterClass)
Parameters
rocksDbConfigSetterClass
Class
Returns
WithStateCleanupDelayMs(long)
Manages STATE_CLEANUP_DELAY_MS_CONFIG
public StreamsConfigBuilder WithStateCleanupDelayMs(long stateCleanupDelayMs)
Parameters
stateCleanupDelayMs
long
Returns
WithStateDir(string)
Manages STATE_DIR_CONFIG
public StreamsConfigBuilder WithStateDir(string stateDir)
Parameters
stateDir
string
Returns
WithStateStoreMaxBytesBuffering(long)
public StreamsConfigBuilder WithStateStoreMaxBytesBuffering(long stateStoreMaxBytesBuffering)
Parameters
stateStoreMaxBytesBuffering
long
Returns
WithTaskTimeoutMs(long)
Manages TASK_TIMEOUT_MS_CONFIG
public StreamsConfigBuilder WithTaskTimeoutMs(long taskTimeoutMs)
Parameters
taskTimeoutMs
long
Returns
WithTopologyOptimization(bool)
Manages TOPOLOGY_OPTIMIZATION_CONFIG: use OPTIMIZE or NO_OPTIMIZATION
public StreamsConfigBuilder WithTopologyOptimization(bool topologyOptimization)
Parameters
topologyOptimization
bool
Returns
WithUpgradeFrom(string)
Manages UPGRADE_FROM_CONFIG
public StreamsConfigBuilder WithUpgradeFrom(string upgradeFrom)
Parameters
upgradeFrom
string
Returns
WithWindowSizeMs(long)
Manages WINDOW_SIZE_MS_CONFIG
public StreamsConfigBuilder WithWindowSizeMs(long windowSizeMs)
Parameters
windowSizeMs
long
Returns
WithWindowStoreChangeLogAdditionalRetentionMs(long)
public StreamsConfigBuilder WithWindowStoreChangeLogAdditionalRetentionMs(long windowStoreChangeLogAdditionalRetentionMs)
Parameters
windowStoreChangeLogAdditionalRetentionMs
long
Returns
WithWindowedInnerClassSerde(string)
Manages WINDOWED_INNER_CLASS_SERDE
public StreamsConfigBuilder WithWindowedInnerClassSerde(string windowedInnerClassSerde)
Parameters
windowedInnerClassSerde
string