Skip to content

Commit

Permalink
Enable KCL option skipShardSyncAtWorkerInitializationIfLeasesExist
Browse files Browse the repository at this point in the history
  • Loading branch information
istreeter committed Sep 8, 2024
1 parent fecae1b commit f890152
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,13 @@ object KinesisSource {
configsBuilder.processorConfig
.callProcessRecordsEvenForEmptyRecordList(true)

val coordinatorConfig =
configsBuilder.coordinatorConfig
.skipShardSyncAtWorkerInitializationIfLeasesExist(true)

new Scheduler(
configsBuilder.checkpointConfig,
configsBuilder.coordinatorConfig,
coordinatorConfig,
leaseManagementConfig,
configsBuilder.lifecycleConfig,
configsBuilder.metricsConfig.metricsLevel(MetricsLevel.NONE),
Expand Down

0 comments on commit f890152

Please sign in to comment.