Giter Site home page Giter Site logo

sammashu / kafka-message-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grzegorz-wolszczak/kafka-message-tool

0.0 2.0 0.0 546 KB

Simple GUI tool (javaFX) to faciliate sending/receiving messages to/from kafka broker

License: MIT License

Groovy 1.85% Java 97.65% CSS 0.50%

kafka-message-tool's Introduction

Build Status

Kafka Message Tool (KMT)

Simple GUI tool (javaFX) to facilitate sending/receiving messages to/from Apache Kafka broker

Features

  • Display kafka broker configuration for each node in cluster
  • Show partition assignments to currently connected consumers (in consumer group)
  • Send multi-messages to kafka with scripted content manner (with groovy scripting)
  • Send messages (ProducerRecord) with user provided key
  • Find which topic partition will be chosen by kafka broker to put the message into
  • Each send/receive window can be detached

Example screenshots

  • BrokerView
  • BrokerView
  • TopicPropertiesView
  • TopicCreateDialogView
  • MessageSenderConfigurationWindow
  • MessageListenerConfigurationWindow

Build

  • To build the app just execute build gradle task. There should be kafka-message-tool<version>.jar file created in <project_dir>/build/libs directory

Run

  • To run the app just calljava -jar kafka-message-tool-<version>.jar New file with saved settings will appear in the same location as applicaiton jar file.

Versioning

  • The versioning scheme is as follows:
    • <AppVersion>-<MajorPatchVersion>-<MinorPatchVersion>-<FixVersion> e.g [v.1.2.4.5]
  • What 'major patch' or 'minor patch' mean ? It is arbitrary and related to effort amount that was invested in implementing particular functionality.

Credits

  • Thanks to RichtextFX for providing cool CodeArea gui component
  • Message syntax highlighting patterns for JSON were taken from JFXParser
  • Thanks to this page for copy TableView cell content code
  • Thanks to controlfx for textfield with autocomplection and other cool controls

Why another Kafka Apache tool ?
This application is mainly designed for testers/developers who want to quickly check/verify some kafka cluster properties (or send/receive few messages) without the need to use original console scripts provided with kafka installation. Obviously functionality of KMT is much more limited than original scripts in favour of simplicity and usability
The goals of creating this tool were:

  • No dependency to zookeeper
    • User should not be forced to provide zookeeper ip and port to work with kafka. Only ip and port of kafka cluster should be enough.
  • Application should be self sufficient - no additional 'servers' or backend should be required to use it.
  • No installation should be required. It should work out of the box. Just type java -jar <application.jar>

kafka-message-tool's People

Contributors

grzegorz-wolszczak avatar grzegorzwolszczak-motorola avatar

Watchers

James Cloos avatar Alexson Pel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.