Go to file
R. Tyler Croy adf676369b Merge pull request #31 from rtyler/jenkinsfile
Add a simple Jenkinsfile
2016-08-04 00:12:41 -07:00
gradle/wrapper Upgrade a bunch of dependencies; moving to the latest stable of Ratpack (0.9.19) 2015-09-02 04:49:23 -07:00
src Use a default zookeepers constant instead of trying to load a configuration file 2015-09-03 08:27:12 -07:00
.gitignore Ignore idea files 2015-09-02 06:13:31 -07:00
.travis.yml Add travis builds 2014-12-13 17:06:22 -08:00
Jenkinsfile Execute our tests inside of a JDK8 container 2016-08-03 23:14:35 -07:00
README.adoc Point the travis badge to the right new repo 2015-09-03 09:26:01 -07:00
build.gradle Include the shadowJar in our archives configuration for release 2015-09-03 08:58:59 -07:00
gradle.properties Disable the daemon; restarting too often in local dev 2015-09-02 06:12:49 -07: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
settings.gradle Move offtopic.gradle to build.gradle 2015-09-02 04:51:46 -07:00

README.adoc

<html lang="en"> <head> </head>

Offtopic

Build Status download

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

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

Watching topics in action

System Requirements

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

Usage Notes

As of 0.3.0 Offtopic is available as a wholly self-contained executable .jar file which means running the command below will start Offtopic on localhost:5050:

✗ java -jar offtopic*-all.jar
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

By default Offtopic looks for a Zookeeper on localhost:2181, if you wish to connect it to another Zookeeper ensemble, use the zookeeper Java property, e.g.:

✗ java -Dzookeepers=example.com:2181 -jar offtopic*-all.jar
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Topic Watch Wildcards

A somewhat "hidden" feature is the ability to use regular expression when watching topics. A normal topic watch URL might be localhost:5050/topics/foo/watch. If there are a number of topics which are all prefixed with foo you can watch them all at the same time with: localhost:5050/topics/foo*/watch.

The regular expressions that Groovy supports should all be supported in the URL space.

</html>