Skip to content

Export Queried Kafka Messages from Kafdrop #817

@zhangyuewen12

Description

@zhangyuewen12

First of all, thanks for building and maintaining Kafdrop — it’s a very useful tool for Kafka topic inspection and troubleshooting.

I’d like to propose a new feature: the ability to export messages queried in Kafdrop.

Background & Motivation

In real-world usage, especially in data engineering and QA scenarios, users often need to:

Inspect Kafka messages via Kafdrop (by topic / partition / offset / key)

Export a subset of those messages

Import them into a test or lab environment for:

  1. Debugging

  2. Replay testing

  3. Data validation

  4. Downstream system simulation

Currently, Kafdrop is excellent for browsing and viewing messages, but there is no built-in way to export the queried results.

Proposed Feature

Add an “Export” capability to message query results, for example:

Export formats:

  1. JSON

  2. CSV (optional)

Export scope:

  1. Current query result set

UI placement:

An “Export” button on the message browsing page

Optional configuration:

Max export size / message count

Include headers / timestamps / partition / offset metadata

Benefits

Makes Kafdrop more useful for testing, debugging, and data migration

Avoids the need for custom Kafka consumer scripts just for data extraction

Improves productivity for developers, QA, and data engineers

Keeps Kafdrop competitive with other Kafka UI tools that already support exports

I’d be happy to discuss implementation details or help contribute if this feature aligns with the project’s direction.

Thanks for your time and great work!

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions