Go to file
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
gradle/wrapper Add gradle wrappers 2014-11-23 10:08:17 -08:00
src Use slf4j simple logger to get logs to stdout 2014-12-01 21:52:52 -08:00
.gitignore Ratpack requires Java 1.8 2014-12-01 21:31:53 -08:00
.travis.yml Add travis builds 2014-12-13 17:06:22 -08:00
README.md Add a screenshot of multipass 2014-11-25 13:27:43 -08:00
build.gradle Drop in a ZK dependency to deal with dependency issues I was having 2014-12-13 17:44:19 -08:00
gradle.properties Default to using the gradle daemon for local work 2014-11-23 11:28:05 -08:00
gradlew Add gradle wrappers 2014-11-23 10:08:17 -08:00
gradlew.bat Add gradle wrappers 2014-11-23 10:08:17 -08:00

README.md

Offtopic

Offtopic is a simple web application built with Ratpack for inspecting and consuming events from Kafka.

The primary goal of this tool is to give you real-time insight into a running Kafka cluster.

Watching topics in action

Requirements

  • Java 8
  • Zookeeper
  • Kafka

Features

  • Watch: From the /topics page clicking the "watch" button will set up a WebSockets-based stream of events straight from Kafka to your browser
  • Multipass: From the /topics page you can select multiple topics to watch at once (screenshot of multipass in action)
  • Binary data support: Clicking on a message row in the "watch" view will drop down a base64-encoded version of the message data