|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport brooklyn.entity.basic.AbstractEntity brooklyn.entity.basic.SoftwareProcessImpl brooklyn.entity.messaging.kafka.KafkaBrokerImpl
public class KafkaBrokerImpl extends SoftwareProcessImpl
An Entity that represents a single Kafka broker instance.
Field Summary |
---|
Fields inherited from class SoftwareProcessImpl | |
---|---|
sensorRegistry |
Fields inherited from class AbstractEntity | |
---|---|
LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, attributesInternal, configsInternal, managementSupport, tempWorkings |
Constructor Summary | |
KafkaBrokerImpl()
|
|
KafkaBrokerImpl(java.util.Map properties)
|
|
KafkaBrokerImpl(Entity parent)
|
|
KafkaBrokerImpl(java.util.Map properties, Entity parent)
|
Method Summary | |
---|---|
protected void
|
connectSensors()
|
KafkaTopic
|
createTopic(java.util.Map properties)
|
void
|
disconnectSensors()
|
java.lang.Integer
|
getBrokerId()
|
java.lang.Class
|
getDriverInterface()
|
java.lang.Integer
|
getKafkaPort()
|
Zookeeper
|
getZookeeper()
|
void
|
init()
|
void
|
setBrokerUrl()
Use the zookeeper details if available, otherwise use our own host and port. |
protected ToStringHelper
|
toStringHelper()
|
void
|
waitForServiceUp(long duration, java.util.concurrent.TimeUnit units)
|
Methods inherited from class groovy.lang.GroovyObjectSupport | |
---|---|
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
Constructor Detail |
---|
public KafkaBrokerImpl()
public KafkaBrokerImpl(java.util.Map properties)
public KafkaBrokerImpl(Entity parent)
public KafkaBrokerImpl(java.util.Map properties, Entity parent)
Method Detail |
---|
@Override protected void connectSensors()
public KafkaTopic createTopic(java.util.Map properties)
@Override public void disconnectSensors()
@Override public java.lang.Integer getBrokerId()
@Override public java.lang.Class getDriverInterface()
@Override public java.lang.Integer getKafkaPort()
@Override public Zookeeper getZookeeper()
@Override public void init()
@Override public void setBrokerUrl()
@Override protected ToStringHelper toStringHelper()
@Override public void waitForServiceUp(long duration, java.util.concurrent.TimeUnit units)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.