public class ZooKeeperPartitionBrokerPlugin extends PartitionBrokerPlugin
config, minTransferCount
Constructor and Description |
---|
ZooKeeperPartitionBrokerPlugin() |
Modifier and Type | Method and Description |
---|---|
String |
getZkAddress() |
String |
getZkPassword() |
String |
getZkPath() |
String |
getZkSessionTmeout() |
Broker |
installPlugin(Broker broker)
Installs the plugin into the interceptor chain of the broker, returning the new
intercepted broker to use.
|
void |
setZkAddress(String zkAddress) |
void |
setZkPassword(String zkPassword) |
void |
setZkPath(String zkPath) |
void |
setZkSessionTmeout(String zkSessionTmeout) |
getBrokerURL, getConfig, getMinTransferCount, setConfig, setConfigAsJson, setMinTransferCount
public ZooKeeperPartitionBrokerPlugin()
public Broker installPlugin(Broker broker) throws Exception
BrokerPlugin
installPlugin
in interface BrokerPlugin
installPlugin
in class PartitionBrokerPlugin
Exception
public String getZkAddress()
public void setZkAddress(String zkAddress)
public String getZkPassword()
public void setZkPassword(String zkPassword)
public String getZkSessionTmeout()
public void setZkSessionTmeout(String zkSessionTmeout)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.