Fixing factory in leasemanagementconfig.
This commit is contained in:
parent
605dfa2b42
commit
56e13c0188
1 changed files with 5 additions and 5 deletions
|
|
@ -183,11 +183,11 @@ public class LeaseManagementConfig {
|
||||||
|
|
||||||
public LeaseManagementFactory leaseManagementFactory() {
|
public LeaseManagementFactory leaseManagementFactory() {
|
||||||
if (leaseManagementFactory == null) {
|
if (leaseManagementFactory == null) {
|
||||||
new DynamoDBLeaseManagementFactory(workerIdentifier(), failoverTimeMillis(), EPSILON_MS,
|
leaseManagementFactory = new DynamoDBLeaseManagementFactory(workerIdentifier(), failoverTimeMillis(),
|
||||||
maxLeasesForWorker(), maxLeasesToStealAtOneTime(), maxLeaseRenewalThreads(), kinesisProxy(),
|
EPSILON_MS, maxLeasesForWorker(), maxLeasesToStealAtOneTime(), maxLeaseRenewalThreads(),
|
||||||
initialPositionInStream(), cleanupLeasesUponShardCompletion(), ignoreUnexpectedChildShards(),
|
kinesisProxy(), initialPositionInStream(), cleanupLeasesUponShardCompletion(),
|
||||||
shardSyncIntervalMillis(), metricsFactory(), executorService(), tableName(), amazonDynamoDB(),
|
ignoreUnexpectedChildShards(), shardSyncIntervalMillis(), metricsFactory(), executorService(),
|
||||||
consistentReads());
|
tableName(), amazonDynamoDB(), consistentReads());
|
||||||
}
|
}
|
||||||
return leaseManagementFactory;
|
return leaseManagementFactory;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue