The widget displays Kafka topic data.

The following information and actions are available for each topic:

  • General topic information, including key parameters, configuration, and status.
  • Partition information, including leaders, offsets, and replica counts.
  • Consumer information, including active consumers, their groups, current offsets, and lag.
  • Message content.
  • Message search by timestamp and offset.
  • Topic configuration as a key-value table.

Configuration

NameRequiredDescriptionDefault value
URLYesKafka cluster URL
Authentication protocolYesProtocol used to connect to Kafka. Authentication protocol reference
SASL mechanismNoAuthentication mechanism used by SASL. Required when using the SASL_PLAINTEXT or SASL_SSL protocol. SASL reference
Kafka userYesUsername of the account used to interact with Kafka
PasswordYesPassword of the account used to interact with Kafka
Kafka topicsNoTopic name or regular expression used to filter topics displayed in the widget. If empty, all topics available to the user are displayed

Additional widget capabilities

When actions are enabled in the settings, the widget allows users to:

  • Create topics.
  • Delete topics.
  • Send a message to a topic.
  • Remove all messages from a topic.

Authentication

The widget requires a user account. The system supports the following authentication methods:

  • PLAINTEXT.
  • SCRAM-SHA-256.
  • SCRAM-SHA-512.

The connected account’s permissions determine which information is available in the widget.