Commit Graph

41 Commits

Author SHA1 Message Date
R. Tyler Croy 413929de56
Upgrade a bunch of dependencies; moving to the latest stable of Ratpack (0.9.19) 2015-09-02 04:49:23 -07:00
R. Tyler Croy 1d12b5b32d Merge pull request #25 from aaronzirbes/gradle-rename
updating to recommended gradle build format
2015-06-29 08:33:21 -07:00
Aaron J. Zirbes 7540c53571 updating to recommended gradle build format 2015-06-05 11:21:27 -05:00
R. Tyler Croy 802c510339 Add bintray plugin for uploading archives
Fixes #21
2014-12-13 18:00:26 -08:00
R. Tyler Croy 108a4e2b24 Add build/download badges 2014-12-13 17:54:02 -08:00
R. Tyler Croy 6784611cff Drop in a ZK dependency to deal with dependency issues I was having
With ZK 3.4.6 which was the default dependency we were pulling in before this
would happen:

   java.lang.NoClassDefFoundError: org/apache/zookeeper/Watcher
       at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
       at java.lang.Class.privateGetPublicMethods(Class.java:2894)
       at java.lang.Class.getMethods(Class.java:1607)
       at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
       at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
       at org.codehaus.groovy.classgen.asm.BytecodeHelper.box(BytecodeHelper.java:602)
       at offtopic.curator.CuratorClient.<init>(CuratorClient.groovy:14)
       at offtopic.curator.CuratorClientInitializationSpec.with a valid String(CuratorClientSpec.groovy:23)
   Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.Watcher
       at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
       at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
       ... 8 more
2014-12-13 17:44:19 -08:00
R. Tyler Croy ad0d9a0844 Add travis builds 2014-12-13 17:06:22 -08:00
R. Tyler Croy 6da638a19a Merge pull request #19 from rkuris/rk-build-cleanups
Rk build cleanups
2014-12-02 10:09:31 -06: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
Ron Kuris 9d5c551781 Ratpack requires Java 1.8 2014-12-01 21:31:53 -08:00
R. Tyler Croy ff086cf24b Add a screenshot of multipass 2014-11-25 13:27:43 -08:00
R. Tyler Croy 18ef7b8219 Add some requirements and features to the readme 2014-11-25 13:09:34 -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 97583ccf8f Add the screenshot to the README 2014-11-23 21:10:57 -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 eb90992c11 Add some spock and groovy dependencies for some unit tests 2014-11-23 12:41:38 -08:00
R. Tyler Croy 8cdcb9887a Default to using the gradle daemon for local work 2014-11-23 11:28:05 -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
R. Tyler Croy 1fd1033c26 Describe the basics of Offtopic 2014-11-23 10:08:50 -08:00
R. Tyler Croy 265b91b6e6 Add gradle wrappers 2014-11-23 10:08:17 -08:00
R. Tyler Croy 7f944238d7 Initial commit 2014-11-23 10:06:34 -08:00