amazon-kinesis-client/docs/plantuml/lease-shard-sync-initialization.puml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
610 B
Text
Raw Normal View History

@startuml
'https://plantuml.com/sequence-diagram
autonumber
title KCL Shard Syncing Initialization (Abridged)
participant Scheduler as S
participant LeaseCoordinator as LC
participant PeriodShardSyncManager as PSS
participant "Lease Table\n(DynamoDB)" as DDB
alt on initialization
S->S: create PeriodicShardSyncManager(\n ..., leaseRefresher, leasesRecoveryAuditorExecutionFrequencyMillis, ...)
S->LC: initialize()
opt if lease table does not exist
LC->DDB: create lease table
end
S->PSS: start()
PSS->PSS: schedule self every\n leasesRecoveryAuditorExecutionFrequencyMillis
end
@enduml