Redpanda Console Documentation

repository·master·Indexed 25 days ago

https://github.com/redpanda-data/console

A web-based UI for managing, debugging, and monitoring Kafka and Redpanda workloads. Key features include a message viewer supporting multiple encodings (JSON, Avro, Protobuf, etc.), consumer group management, topic and cluster overviews, Schema Registry support, Kafka Connect management, and security configuration for Kafka ACLs and SASL-SCRAM users.

Tokens
24.5K
Snippets
39
Records
149
Agent score
88%

What's inside Redpanda Console

  1. Overview of Redpanda Console features

    master

    Redpanda Console (formerly Kowl) is a web application for managing and debugging Kafka/Redpanda workloads. Key features include:

    • Message viewer: Explore topic messages using ad-hoc queries and JavaScript-based dynamic filters. Supports JSON, Avro, Protobuf, CBOR, XML, MessagePack, Text, and Binary (hex) encodings.
    • Consumer groups: List active groups, manage offsets (by group, topic, or partition), and delete consumer groups.
    • Topic overview: Browse topics, check configurations, monitor space usage, view partition details (low/high water marks, message counts), and embed documentation from git repositories.
    • Cluster overview: Monitor brokers, including space usage, rack ID, health, and configuration.
    • Security: Manage Kafka ACLs and SASL-SCRAM users.
    • Schema Registry: Manage Avro, Protobuf, or JSON schemas.
    • Kafka Connect: Manage connectors across multiple clusters, patch configurations, and restart tasks.
    • Redpanda Transforms: Monitor and manage data transforms in Redpanda clusters.
  2. Manage Kafka Connect clusters in Redpanda Console

    master

    Redpanda Console provides a unified user interface to manage multiple Kafka Connect clusters. Through the UI, you can:

    • Inspect configured connectors.
    • Configure connector settings.
    • Perform lifecycle operations: restart, pause, resume, or delete connectors.

    If multiple clusters are configured, Console aggregates results (such as connector lists) from all configured clusters into a single view.

  3. Explore Redpanda Console features

    master

    Redpanda Console provides several key features for managing data streaming environments:

    • Hosting: Learn how to host and deploy the console.
    • Kafka Connect: Manage and interact with Kafka Connect clusters.
    • Topic Documentation: View and manage documentation associated with specific topics.
    • Protobuf: Support for Protobuf schema management and usage.
  4. Enable Protobuf Deserialization via Local Filesystem

    master

    To use .proto files stored on the local filesystem, you must provide Topic Mappings to link Kafka topics to specific Protobuf types. Redpanda Console will search the specified paths for files with the .proto extension.

    kafka:
      protobuf:
        enabled: true
        mappings:
          - topicName: xy
            valueProtoType: fake_model.Order
            keyProtoType: package.Type
        fileSystem:
          enabled: true
          refreshInterval: 5m
          paths:
            - /etc/protos
  5. Explore Topic Details and Configuration

    master

    Once you select a topic (via topic-link-{topicName}), you enter the topic details view. You can navigate between different views using the URL hash or the tab interface:

    • Messages Tab (Default): View and interact with messages in the topic.
    • Configuration Tab: View grouped settings. Key groups include:
      • Retention, Compaction, Replication, Tiered Storage
      • Write Caching, Iceberg, Schema Registry and Validation
      • Message Handling, Compression, Storage Internals
    • Partitions Tab: View partition-specific information.

    Direct Navigation:

    • /topics/{topicName}#configuration: Directly opens the configuration tab.
    • /topics/{topicName}#partitions: Directly opens the partitions tab.
  6. Enable Protobuf Deserialization via Git Repository

    master

    You can provide .proto files by pointing Redpanda Console to a Git repository. The Console will clone and periodically sync the repo, searching for .proto files up to a depth of 5 levels. Topic Mappings are required for this method.

    Note on importPaths: This is a list of paths relative to the repository root from which to import Proto files. This feature requires the git configuration to be enabled.

    kafka:
      protobuf:
        enabled: true
        mappings:
          - topicName: xy
            valueProtoType: fake_model.Order
            keyProtoType: package.Type
        importPaths: []
        git:
          enabled: true
          refreshInterval: 5m
          repository:
            url: https://github.com/redpanda-data/owlshop-protos.git
          basicAuth:
            enabled: true
            username: token
            password: redacted
  7. Manage the Topic List

    master

    On the /topics page, you can perform the following operations:

    • Search: Use the search input to find topics by exact name or regex patterns (e.g., ^regex-test.*).
    • Filter Internal Topics: Use the "Show internal topics" checkbox to toggle the visibility of internal topics like _schemas.
    • Create Topic: Click the "Create topic" button to open a modal for new topic configuration.

    Key UI Elements (testIds):

    • create-topic-button: Button to initiate topic creation.
    • search-field-input: Input for searching topics.
    • show-internal-topics-checkbox: Checkbox to show/hide internal topics.
    • topics-table: The main table displaying the topic list.
  8. Run Redpanda Console locally against a local Kafka/Redpanda cluster

    master

    If your Kafka/Redpanda cluster is running on your host machine, use host.docker.internal as the bootstrap server. Ensure your broker's advertised listener is configured to allow connections from this address (e.g., PLAINTEXT://host.docker.internal:9092).

    Note for Linux users: Use the --network=host flag to run Console within the host's network namespace. In this case, use localhost:9092 as the broker address.

  9. Enable Protobuf Deserialization via Buf Schema Registry (BSR)

    master

    Redpanda Console supports Buf Schema Registry (BSR) for schema management. BSR uses Kafka record headers (buf.registry.value.schema.message and buf.registry.value.schema.commit) to store metadata instead of embedding IDs in the payload. Topic mappings are not required.

    Required Record Headers:

    • buf.registry.value.schema.message: Fully qualified message name (e.g., com.example.v1.Order)
    • buf.registry.value.schema.commit: BSR commit ID for the schema version
    serde:
      protobuf:
        enabled: true
        bufSchemaRegistry:
          enabled: true
          url: "https://buf.build"  # or your BSR instance URL
          token: "your-bsr-auth-token"
  10. Host Redpanda Console under a sub-path

    master
    If you need to host Redpanda Console under a sub-path (e.g., domain.com/some/sub/path instead of the root domain.com/), you must implement HTTP Path Rewrites. Refer to the official Redpanda documentation for detailed instructions on path rewriting.