R Tyler Croy
86a1161c0f
Incorporate the rust-rdkafka branch
2019-12-02 08:17:33 -08:00
R Tyler Croy
cef9a2f641
Add the --bind option for listening on interfaces other than lo0
2019-12-02 08:17:33 -08:00
R Tyler Croy
4b802ad463
Run `cargo fmt`
...
I'll get the hang of this
2019-12-02 08:17:32 -08:00
R Tyler Croy
0ffa96ebc4
Merge branch 'x-args' of reiseburo/kafkakitty into master
2019-11-30 12:46:25 -08:00
R Tyler Croy
50e998b488
Add support for passing -X key=value arguments through into librdkafka
...
This _should_ allow this to be configured to use a Kafka authentication scheme
like user/pass or SASL
2019-11-30 11:38:46 -08:00
R Tyler Croy
afc0f348e7
Merge remote-tracking branch 'github/master'
2019-11-29 11:53:04 -08:00
R Tyler Croy
8286afc0db
Add more documentation on how to use and hack on Kafkakitty
2019-11-29 11:52:07 -08:00
R Tyler Croy
5ed346b394
Merge pull request #2 from reiseburo/dependabot/npm_and_yarn/webpack-dev-server-3.1.11
...
Bump webpack-dev-server from 2.11.5 to 3.1.11
2019-11-29 09:59:44 -08:00
dependabot[bot]
7760e491ed
Bump webpack-dev-server from 2.11.5 to 3.1.11
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 2.11.5 to 3.1.11.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/commits/v3.1.11 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-29 17:57:27 +00:00
R Tyler Croy
abecf0e90f
Merge pull request #1 from reiseburo/dependabot/npm_and_yarn/webpack-bundle-analyzer-3.3.2
...
Bump webpack-bundle-analyzer from 2.13.1 to 3.3.2
2019-11-29 09:56:38 -08:00
R Tyler Croy
238c6e1e50
Ensure that assets have the right prefix used when they're embedded in the app
2019-11-28 22:19:53 -08:00
R Tyler Croy
d565f5251e
Be less dumb about JSON parsing
2019-11-28 22:03:20 -08:00
R Tyler Croy
5c121ff064
Add a nice little screenshot
2019-11-28 22:03:11 -08:00
dependabot[bot]
1adfcf6aa9
Bump webpack-bundle-analyzer from 2.13.1 to 3.3.2
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 2.13.1 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v2.13.1...v3.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-29 05:56:54 +00:00
R Tyler Croy
3c4fc36b79
Implement a basic frontend
2019-11-28 21:54:26 -08:00
R Tyler Croy
eae0cde563
Incorporate a JSON view for the messages coming through
2019-11-28 20:38:33 -08:00
R Tyler Croy
4503c1cc55
Incorporate the vue-json-viewer component for rendering
2019-11-28 20:18:10 -08:00
R Tyler Croy
930e571ead
Send richer data through to the frontend
2019-11-28 20:02:46 -08:00
R Tyler Croy
00be0c1396
Incorporate vuex and pump messages into a state for rendering
...
This is the basics of what I need to start changing the message format and
sending richer data to the frontend
2019-11-28 19:27:31 -08:00
R Tyler Croy
642750bbcd
Add vuex
2019-11-28 13:35:11 -08:00
R Tyler Croy
c510569383
Restrcuture the frontend a little bit, removing the HelloWorld component
...
Still need to figure out exactly how we're going to get things shuffled from
websockets into components
2019-11-28 13:30:34 -08:00
R Tyler Croy
3f70d5688d
Tidy up the websocket module
2019-11-28 13:02:18 -08:00
R Tyler Croy
66a38f80eb
Remove generated assets, no longer needed in the tree
2019-11-28 12:55:29 -08:00
R Tyler Croy
65bdd2b6ea
Restructure the frontend a wee bit to allow for a reconnecting websocket
...
The Vue Hello World is still in place, slowly replacing..
2019-11-28 12:53:10 -08:00
R Tyler Croy
115bf2f25e
Refactor the server-side into modules for a little more sanity
2019-11-28 12:40:53 -08:00
R Tyler Croy
7a15e18272
Support automatically opening the browser to the local address.
2019-11-28 12:29:38 -08:00
R Tyler Croy
3775ffb92b
Add command-line arguments roughly matching what kafkacat has
2019-11-28 12:22:43 -08:00
R Tyler Croy
48af71e53a
Remove the unnecessary custom Kafka consumer and context
2019-11-28 11:45:11 -08:00
R Tyler Croy
31826d6bf8
A terrible work in progress that at least passes messages over the websocket
...
This is still heavily relying on smashing Strings around between threads via the
crossbeam channels.
This needs to be reworked tremendously, but gotta checkpoint again at a working
state before I gut it 😸
2019-11-28 11:41:07 -08:00
R Tyler Croy
1afc5cd0bf
Add a build version of the site into assets
2019-11-24 20:01:43 -08:00
R Tyler Croy
ef873856a5
Tweak the webpack build process for Vue.js
2019-11-24 20:00:44 -08:00
R Tyler Croy
4a1272abfa
Import Vue.js template project
2019-11-24 19:45:07 -08:00
R Tyler Croy
a233c62693
Add a simple docker-compose configuration for running Kafka locally
2019-11-24 19:38:44 -08:00
R Tyler Croy
d5c43188b3
Tinker with inserting nodes the way I might want them to when events come through
...
Obvs. not styled yet
2019-11-24 19:35:24 -08:00
R Tyler Croy
a773c0a588
Add bootstrap 4.3.1 to the repo
2019-11-24 19:16:41 -08:00
R Tyler Croy
4a2439b33b
Swap to tungstenite for websockets which works better (as in, at all)
2019-11-24 15:29:12 -08:00
R Tyler Croy
439cf97dcc
Structure the main module such that index and assets are all served
...
This lays the groundwork for serving a Single Page App (SPA) from the kafkakitty
binary
2019-11-24 11:59:02 -08:00
R Tyler Croy
2a070cfa57
Incorporate some example code from the websocket crate for websockets
...
Since the Rocket websocket support (in the async branch) is not yet ready, I
don't want to build on top of it. I should be able to work with the websocket
thread in this way and send messages from a Kafka thread into the websocket
threads without too much issue
2019-11-24 10:41:31 -08:00
R Tyler Croy
bcfd40f32b
Checkpointing a simple hack to get static assets served from Rocket
...
The Template support in Rocket doesn't _appear_ to support just passing through
`Strign` or `str`, so I think I will eschew server-side templating and just
require JavaScript here.
2019-11-24 10:05:24 -08:00
R Tyler Croy
22929e0567
Add a simple readme to outline the scope so I don't forget
2019-11-18 08:07:39 -08:00
R Tyler Croy
41003802f5
initial commit
2019-11-18 08:06:29 -08:00