| Package | Description |
|---|---|
| org.apache.flink.runtime.util |
| Modifier and Type | Method and Description |
|---|---|
static DefaultLeaderElectionService |
ZooKeeperUtils.createLeaderElectionService(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client)
Creates a
DefaultLeaderElectionService instance with ZooKeeperLeaderElectionDriver. |
static DefaultLeaderElectionService |
ZooKeeperUtils.createLeaderElectionService(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client,
String path)
Creates a
DefaultLeaderElectionService instance with ZooKeeperLeaderElectionDriver. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.