Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Kafka Topic -> Consumer map

License

NotificationsYou must be signed in to change notification settings

ApplauseOSS/ConsumerGraph

Repository files navigation

Build Status

A small utility to browse Kafka topic-to-consumer relationships. Each node is collapsible.

NOTE - This supports installations with offsets stored in Kafka. Offsets stored in Zookeeper are not supported.

Graph View:

alt text

Tree View:

alt text

Docker Configuration Environment Variables

The following env vars are recognized by the image:

NameDefaultDescriptionExample
CLUSTER_NAMEKafkaThe name of this Kafka cluster. Displayed on the root node.kafkaone
PORTNONEThe port the server runs on.8080
KAFKA_BROKERSNONEA list of Kafka brokers for the cluster to monitor.kafkaone.server.com:9092,kafkatwo.server.com:9092
CONSUMER_TIMEOUTNONEThe time the consumer spends waiting in poll() if data is not available, in milliseconds.30000
TOPIC_FILTERNONEA regex to filter out topics._.*|console.*
CONSUMER_FILTERNONEA regex to filter out consumers._.*|console.*
LOG_LEVELNONEThe logging level for log4j, [ALL | DEBUG | ERROR | FATAL | INFO | OFF | TRACE | WARN]INFO
UI_STYLENONEThe UI style to use, [graph | tree]tree

Building and Running

ConsumerGraph is available onDocker hub.

The easiest way to build it is via the build script. You will need Maven and Docker installed.

$ ./build.sh$ docker run -p 9913:9913 \ -e PORT=9913 \ -e CLUSTER_NAME=kafka_one \ -e KAFKA_BROKERS=172.27.24.93:9092 \ -e TOPIC_FILTER="_.*|console.*" \ -e LOG_LEVEL=INFO \ -e UI_STYLE=tree \ -e CONSUMER_TIMEOUT=30000 \ consumergraph

Development

You can build ConsumerGraph with the Maven using the standard lifecycle phases.

Version Compatibility

This was built/tested using the following versions.

ComponentVersion
Maven3.3.9
Docker17.03.0-ce, build 60ccb22
Java1.8.0_121
Kafka0.10.1.0

About

Kafka Topic -> Consumer map

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp