Commit Graph

37 Commits

Author SHA1 Message Date
R. Tyler Croy d2f2b4b6db
Use a default zookeepers constant instead of trying to load a configuration file 2015-09-03 08:27:12 -07:00
R. Tyler Croy 48cb3ac459
Starting to clean up KafkaService so it's less dependent on a global CuratorPool 2015-09-03 08:26:15 -07:00
R. Tyler Croy fd7db966ff
Use the appropriate pattern when doing a multipass with wildcards
Fixes #12
2015-09-02 09:30:17 -07:00
R. Tyler Croy 85c474de3b
display labels at the top of the view for which topics we're watching
Fixes #13
2015-09-02 09:06:02 -07:00
R. Tyler Croy c0ce7eb06a
Allow ?title=Foo to set a dashboard title
Fixes #16
2015-09-02 08:55:52 -07:00
R. Tyler Croy fc33f70b4a
Add a more explicit link for displaying base64 encoded versions of the code 2015-09-02 08:28:45 -07:00
R. Tyler Croy 9bdcb2138d
Add display of timestamps for when we receive the message
It doesn't look like we can know from the Message in Kafka when it was actually
received by Kafka, so this will be enough to give us some semblence of time

FIxes #20
2015-09-02 08:20:38 -07:00
R. Tyler Croy d15f1adb5e
Introduce handlebars.js to clean up some of the front-end view generation 2015-09-02 08:20:38 -07:00
R. Tyler Croy a66f508ea6
Upgrade to Bootstrap 3.3.5 2015-09-02 08:20:38 -07:00
R. Tyler Croy 0167dcde2a
Display the messages partition and offset when rendering a message
Fixes #22
2015-09-02 07:38:44 -07:00
R. Tyler Croy 4dc819f884
Add logback for logging
Fixes #15
2015-09-02 06:59:45 -07:00
R. Tyler Croy 0410ce6fc5
Allow overriding the zookeepers property at runtime 2015-09-02 06:12:09 -07:00
R. Tyler Croy 4b5de1c70a
Minor API changes between the last version of ratpack 0.9 and 0.9.19 2015-09-02 05:49:28 -07:00
Ron Kuris 09bbb55fb1 Use slf4j simple logger to get logs to stdout
Logs were heading over to log4j before this; were they getting lost?
2014-12-01 21:52:52 -08:00
R. Tyler Croy 5b1574097d Wrap the message content in a pre-scrollable to make sure it doesn't obliterate the screen real estate 2014-11-25 10:53:40 -08:00
R. Tyler Croy f5b619f5f2 Add some l337 UI for creating a multipass UI on the topics watch page
This makes it much easier to watch multiple topics, hoorah

Fixes #10
2014-11-25 10:01:05 -08:00
R. Tyler Croy 87232daa60 Add a pretty play/stop glyphicon to the start/stop buttons on the watch page 2014-11-25 09:16:54 -08:00
R. Tyler Croy a0d62e4c20 Add start/stop buttons for the stream
I'm so good at javascript it's scary
2014-11-24 23:22:34 -08:00
R. Tyler Croy a7bf6b3745 Fix minor regression when clicking to show base64 encoded messages 2014-11-24 23:08:56 -08:00
R. Tyler Croy 72e028a300 Rework the elements to be on the same row 2014-11-24 23:00:50 -08:00
R. Tyler Croy d998f4f8ca Allow the for grepping message bodies from the web frontend
Fixes #6
Fixes #8
2014-11-24 22:52:48 -08:00
R. Tyler Croy 493deb7ddf Add support for looking up topics for matches if the topicPattern has wildcards in it
References #8
2014-11-24 22:20:14 -08:00
R. Tyler Croy 69ed3f3cad Move the withCurator method into CuratorPool to use outside of KafkaService 2014-11-24 21:23:31 -08:00
R. Tyler Croy 2677018943 Refactor more Kafka subscription into OfftopicClient to allow multiple streams at once
WOOOHOOO

Fixes #7
2014-11-24 21:07:55 -08:00
R. Tyler Croy d04d228b28 Display the topic in the list view to make it easier to see combo streams
References #7
2014-11-24 18:00:10 -08:00
R. Tyler Croy 183f429ebd Make zookeeper hosts configurable, consumerIds random and a few more improvements
Slowly moving towards the OfftopicClient to hold state and configuration around
websocket connections

Fixes #4
Fixes #3
2014-11-24 17:52:15 -08:00
R. Tyler Croy a0cc416a53 Send the raw and base64 encoded message to the frontend for display
Clicking the list item shows the base64 encoded version, SPIFFY
2014-11-23 22:34:42 -08:00
R. Tyler Croy dfba5ad54f Add a little barbershop pole to indicate whether or not the websocket is active 2014-11-23 22:06:19 -08:00
R. Tyler Croy 67af6f81ff Update the websockets code to allow any topic to be subscribed to
This also will prune the messages displayed on the screen at a healthy 25
2014-11-23 21:53:36 -08:00
R. Tyler Croy 9474c24efd Implement topic watching, bringing in some bootstrap, whole bunch of stuff
This isn't a really atomic commit because I'm really the worst
2014-11-23 20:57:36 -08:00
R. Tyler Croy 3c28134f83 Start rendering a listing of the topics! 2014-11-23 17:21:43 -08:00
R. Tyler Croy 8c2ab66275 Refactor the Kafka broker lookup code into the KafkaService class 2014-11-23 17:10:36 -08:00
R. Tyler Croy 849c0b4fd0 Use the CuratorPool to grab a list of the Kafka nodes reporting into Zookeeper 2014-11-23 16:36:35 -08:00
R. Tyler Croy 3665149fb3 Start fetching information from zookeeper on load of the main page 2014-11-23 15:49:48 -08:00
R. Tyler Croy 9f06b78fa8 Move these files into a different package structure 2014-11-23 15:15:40 -08:00
R. Tyler Croy 558719abdb Committing some experimenting before I mess it all up again.
Current thinking is that I need to implement a CuratorClient object pool which
will make it easier to pluck objects for Ratpack handlers
2014-11-23 15:12:56 -08:00
R. Tyler Croy 25b50428db Add a simple build.gradle and ratpack handler to get us started with 2014-11-23 10:11:42 -08:00