/doflamingo

Lightweight Kakfa/Zookeeper monitoring module built for Flamingo2

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Doflamingo

Lightweight Kakfa/Zookeeper monitoring module built for Flamingo2.

This project consists of two subprojects: jmxtrans and server.

Code in jmxtrans intermittently merged into server subproject.

You can use docker environment to test doflamingo. Refer to doflamingo-runtime repository for more detailed information.

If you need a detailed explanation about the project, please take a look at this Presentation Material.

doflamingo-jmxtrans

Requirements

  1. Maven
  2. JDK (1.8 or later)
  3. Tomcat

How to run the code

$ mvn package
$ cp %PROJECT_HOME%/jmxtrans/target/jmxtrans-1.0-SNAPSHOT.war \
      %CATALINA_HOME%\webapps
# Replcae %PROJECT_HOME% and %CATALINA_HOME% according to your environemt
# Make sure that your tomcat server is running

Tomcat environment variables

  • host: localhost
  • port: 8765
  • JMX port: 1099

We recommend you to use IntelliJ to control tomcat deployment.

WebSocket Tester

The index.html page do only one job: print WebSocket status and received messages.

doflamingo-server

This module has no dependency to jmxtrans.

Requirements

  1. Maven
  2. JDK (1.8 or later)
  3. Tomcat
  4. Sencha EXTJS (6.0.1 or later)

How to run the code

Same with jmxtrans script.

$ mvn package
$ cp %PROJECT_HOME%/doflamingo/jmxtrans/target/jmxtrans-1.0-SNAPSHOT.war \
      %CATALINA_HOME%\webapps
# Replcae %PROJECT_HOME% and %CATALINA_HOME% according to your environemt
# Make sure that your tomcat server is running

Tomcat environment variables

  • host: localhost
  • port: 8080
  • JMX port: 1098

We recommend you to use IntelliJ to control tomcat deployment.

Sencha

Sencha is used to build frontend, with GPL license.

Link ext folder to %PROJECT_HOME%/server/src/main/sencha/ext.

You can earn ext folder by initiating blank app with sencha cmd.