Class KafkaClusterControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<KafkaClusterControlPanel.Body>
io.micronaut.controlpanel.panels.kafka.KafkaClusterControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<KafkaClusterControlPanel.Body>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable
@Singleton
@Requires(beans=org.apache.kafka.clients.admin.AdminClient.class) @Requires(property="micronaut.control-panel.panels.kafka-cluster.enabled",notEquals="false")
public final class KafkaClusterControlPanel
extends AbstractControlPanel<KafkaClusterControlPanel.Body>
Control panel entry point for read-only Kafka cluster inspection.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ControlPanel
ControlPanel.Category, ControlPanel.View -
Field Summary
FieldsFields inherited from class AbstractControlPanel
configuration, controlPanelNameFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionKafkaClusterControlPanel(ControlPanelConfiguration configuration, io.micronaut.controlpanel.panels.kafka.KafkaClusterWriteConfiguration writeConfiguration) -
Method Summary
Methods inherited from class AbstractControlPanel
getIcon, getName, getOrder, isEnabledMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ControlPanel
getBodyView, getDetailedView, getDetailLinkName, hasDetails
-
Field Details
-
NAME
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
Constructor Details
-
KafkaClusterControlPanel
public KafkaClusterControlPanel(@Named("kafka-cluster") ControlPanelConfiguration configuration, io.micronaut.controlpanel.panels.kafka.KafkaClusterWriteConfiguration writeConfiguration)
-
-
Method Details
-
getBody
Description copied from interface:ControlPanelUsed to render the body of the control panel.- Returns:
- the body of the control panel.
-
getTitle
Description copied from interface:ConfigurableControlPanelThe title is displayed in the header of the card UI element.- Specified by:
getTitlein interfaceConfigurableControlPanel- Overrides:
getTitlein classAbstractControlPanel<KafkaClusterControlPanel.Body>- Returns:
- the title of the control panel.
-
getCategory
Description copied from interface:ControlPanelThe category of the control panel.- Returns:
- the category of the control panel.
-
getBadge
Description copied from interface:ControlPanelBadge text to be displayed in the header of the card UI element.- Returns:
- the badge text of the control panel.
-