Class KafkaStreamsControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<KafkaStreamsControlPanel.Body>
io.micronaut.controlpanel.core.AbstractEachBeanControlPanel<KafkaStreamsControlPanel.Body>
io.micronaut.controlpanel.panels.kafka.KafkaStreamsControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<KafkaStreamsControlPanel.Body>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable
@EachBean(io.micronaut.configuration.kafka.streams.ConfiguredStreamBuilder.class)
@Requires(beans=io.micronaut.configuration.kafka.streams.ConfiguredStreamBuilder.class)
public class KafkaStreamsControlPanel
extends AbstractEachBeanControlPanel<KafkaStreamsControlPanel.Body>
A per-streams control panel that renders the Kafka Streams topology for each configured builder.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordPayload for the Kafka Streams panel rendering.Nested 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
ConstructorsConstructorDescriptionKafkaStreamsControlPanel(String beanName, io.micronaut.configuration.kafka.streams.ConfiguredStreamBuilder builder, ControlPanelConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptiongetBadge()Badge text to be displayed in the header of the card UI element.protected StringReturns the name of the bean this control panel represents.getBody()Used to render the body of the control panel.The category of the control panel.protected StringReturns the name of the panel category.getTitle()Returns the title for this control panel, which is the bean name.Methods inherited from class AbstractEachBeanControlPanel
getBodyView, getDetailedView, getNameMethods inherited from class AbstractControlPanel
getIcon, getOrder, isEnabledMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ControlPanel
hasDetails
-
Field Details
-
NAME
- See Also:
-
CATEGORY
-
-
Constructor Details
-
KafkaStreamsControlPanel
public KafkaStreamsControlPanel(@Parameter String beanName, io.micronaut.configuration.kafka.streams.ConfiguredStreamBuilder builder, @Named("kafka-streams") ControlPanelConfiguration configuration)
-
-
Method Details
-
getBeanName
Description copied from class:AbstractEachBeanControlPanelReturns the name of the bean this control panel represents.- Specified by:
getBeanNamein classAbstractEachBeanControlPanel<KafkaStreamsControlPanel.Body>- Returns:
- the bean name
-
getPanelName
Description copied from class:AbstractEachBeanControlPanelReturns the name of the panel category.- Specified by:
getPanelNamein classAbstractEachBeanControlPanel<KafkaStreamsControlPanel.Body>- Returns:
- the panel name
-
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 class:AbstractEachBeanControlPanelReturns the title for this control panel, which is the bean name.- Specified by:
getTitlein interfaceConfigurableControlPanel- Overrides:
getTitlein classAbstractEachBeanControlPanel<KafkaStreamsControlPanel.Body>- Returns:
- the title
-
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.
-