Git Product home page Git Product logo

kafdrop-go's Introduction

kafdrop-go

1,关于kafdrop

做这个项目是为了学习golang 和 kafka。仿照kafdrop的部分功能实现了go的版本,实现功能:
1.查看broker地址和controller。
2.查看topic列表,每个topic分区个数,每个topic可消费消息个数。
3.查看topic下前200个消息内容,消息offset,消息所在分区。

KafkaBroker KafkaTopic KafkaMessage

2,创建工程的过程

拷贝beego的样例代码,在此基础开发

3,页面的构建

http://v3.bootcss.com/ https://jquery.com/download/

4, 编译运行

go build -o kafdrop.exe main.go 在cmd窗口执行kafdrop.exe 访问http://127.0.0.1:8090

5, 在线demo

http://152.136.200.213:8090/

kafdrop-go's People

Contributors

xiaof-github avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.