Giter Site home page Giter Site logo

kafka-manager-docker's People

Contributors

kevinleetca avatar sheepkiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kafka-manager-docker's Issues

filling disk

The container is logging to disk!? why would you ever want that when running docker? and is filling up my disk, plz fix

docker exec kafka-manager du -sch /kafka-manager-1.3.1.8/application.home_IS_UNDEFINED/logs
17G /kafka-manager-1.3.1.8/application.home_IS_UNDEFINED/logs
17G total

THe image isn't working when deployed behind reverse proxy using subpath

When deployed using subpath the image isn't working as the urls and js in the index.html are absolute.

So what I did is a kubernetes deployment with a ingress controller which basically creates a nginx reverse proxy on a subpath.

E.g. http://development.myenvironment.com/kafka-manager/

Failed to load resource: the server responded with a status of 404 (Not Found)
/vassets/stylesheets/2b56540dba204490b0a8b01818b05991-index.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
c7d17af297af222b85192c2df48b8390-chartist.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
/vassets/chartist/stylesheets/0dd8d6c6dca261528d9be38904d656d3-chartist.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
/vassets/chartist/stylesheets/0dd8d6c6dca261528d9be38904d656d3-chartist.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
/vassets/dataTables/stylesheets/49765a39721f9ac7365f6a01962c52ef-dataTables.bootstrap.css Failed to load resource: the server responded with a status of 404 (Not Found)
/vassets/stylesheets/2b56540dba204490b0a8b01818b05991-index.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
c7d17af297af222b85192c2df48b8390-chartist.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
bootstrap.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
280ff6aaaba888ccb486e669fd200b8e-jquery.dataTables.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
8e519890a2e2499da2b753c65a5dc27c-dataTables.bootstrap.js Failed to load resource: the server responded with a status of 404 (Not Found)
2af62f58ee2baf495c9b3a9a1c30ce03-favicon.png Failed to load resource: the server responded with a status of 404 (Not Found)
jquery.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
bootstrap.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
280ff6aaaba888ccb486e669fd200b8e-jquery.dataTables.min.js Failed to load resource: the server responded with a status of 404 (Not Found)
8e519890a2e2499da2b753c65a5dc27c-dataTables.bootstrap.js Failed to load resource: the server responded with a status of 404 (Not Found)
bootstrap.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
49765a39721f9ac7365f6a01962c52ef-dataTables.bootstrap.css Failed to load resource: the server responded with a status of 404 (Not Found)
2b56540dba204490b0a8b01818b05991-index.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
0dd8d6c6dca261528d9be38904d656d3-chartist.min.css Failed to load resource: the server responded with a status of 404 (Not Found)

Is there a way to configure the image to run in a subpath of the url.

Latest kafka-manager

yahoo/kafka-manager has evolved to 1.3.3.x and so to support a newer version of Kafka

OpenJDK instead of Oracle

Hi,

I saw that this container uses Oracle Java. Its license is quite restrictive, and my company would rather use OpenJDK. Do you think this is a good idea? There is no reason that kafka manager would not work, and it would reduce the dependency from Oracle.

Thank you.

KM_CONFIGFILE is improperly documented as KM_CONFIG

#23

README.md:

From > 1.3.0.4, you can specify a configuration file via an environment variable.

#docker run [...] -v /path/to/confdir:/opt -e KM_CONFIG=/opt/my_shiny.conf

Dockerfile:

ENV JAVA_HOME=/usr/java/default/
ZK_HOSTS=localhost:2181
KM_VERSION=1.3.1.8
KM_REVISION=97329cc8bf462723232ee73dc6702c064b5908eb
KM_CONFIGFILE="conf/application.conf"

Connection Refuse when ZK_HOST is localhost:2181

I have Zookeeper and Kafka running in localhost.
When I start the docker container with

docker run -it --rm  -p 9000:9000 -e ZK_HOSTS="localhost:2181" sheepkiller/kafka-manager

it throws error

java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_111]
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_111]
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[org.apache.zookeeper.zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[org.apache.zookeeper.zookeeper-3.4.6.jar:3.4.6-1569965]

Both zookeeper and kafka are running fine and listening to correct ports. What might be the cause?

Only listening on tcp6?

Hello @sheepkiller,

I'm using the following docker-compose YAML which pulls your kafka-manager:

https://gist.github.com/chris-zen/19baa29a90625edef4db

Unfortunately it only seems to listen on tcp6 instead of plain old IPv4 tcp:

ubuntu@localhost:~$ netstat -tunl
(...)
tcp6       0      0 :::9000                 :::*                    LISTEN

ubuntu@localhost:~$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:16:54 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:16:54 UTC 2015
 OS/Arch:      linux/amd64

ubuntu@localhost:~$ uname -a
Linux localhost 3.19.0-21-generic #21+charmers1-Ubuntu SMP Tue Jun 16 10:41:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Any ideas on why? Ping @chris-zen.

akka.event.Logging$LoggerInitializationException: TimeOut

I can't start a docker instance of kafka-manager cause it is giving a timeout...
Caused by: akka.event.Logging$LoggerInitializationException: Logger log1-Slf4jLogger did not respond with LoggerInitialized, sent instead [TIMEOUT]

Is this a new issue? Because it has been working to this day...

kafka-manager not working

after any changes in web interface kafka-manager goes into loop with this:
kafka-manager_1 | [info] o.a.z.ClientCnxn - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
kafka-manager_1 | [warn] o.a.z.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
kafka-manager_1 | java.net.ConnectException: Connection refused

Tried running manager separately and with fixed host ip still the same, seems it can't connect to zookeeper.

File name too long

I tried to build the image unfortunately, I got the following error.

[info] Packaging /tmp/kafka-manager/target/scala-2.11/kafka-manager_2.11-1.3.0.4-javadoc.jar ...
[info] Done packaging.
[error] File name too long
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 278 s, completed Jan 15, 2016 5:32:22 PM
The command '/bin/sh -c mkdir -p /tmp &&     cd /tmp &&     git clone https://github.com/yahoo/kafka-manager &&     cd /tmp/kafka-manager &&     git checkout ${KM_REVISION} &&     ./sbt clean dist &&     unzip  -d / ./target/universal/kafka-manager-${KM_VERSION}.zip &&     rm -fr /tmp/* /root/.sbt /root/.ivy2' returned a non-zero code: 1

Apparently docker has a max filename size of 242 instead of the standard 255.

Path(/usr/kafka-manager)

Hey there,

I was trying out your Image but it failed with the following error:

Yikes! Ask timed out on [ActorSelection[Anchor(akka://kafka-manager-system/), Path(/user/kafka-manager)]] after [5000 ms]

Is /user/kafka-manager/ correct? To me it seems more like /kafka-manager

Cheers
Christian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.