EFKA:https://www.kafka-eagle.org
Preface
EFAK (Eagle For Apache Kafka, previously known as Kafka Eagle). This topic provides a high-level look at EFAK, the EFAK process, and EFAK features. It’s a good place to start if you want to learn more about EFAK software.
EFAK is open source visualization and management software. It allows you to query, visualize, alert on, and explore your metrics no matter where they are stored. In plain English, it provides you with tools to turn your kafka cluster data into beautiful graphs and visualizations.
Requirements
To run EFAK, you must have a supported operating system, hardware that meets or exceeds minimum requirements, a supported database, and a supported browser.
The following operating systems are supported for EFAK installation:
- Linux
- macOS
- Windows
Hardware recommendations
EFAK does not use a lot of resources and is very lightweight in use of memory and CPU.
- Minimum recommended memory: 2048 MB
- Minimum recommended CPU: 1
Some features might require more memory or CPUs. Features require more resources include: - Server side rendering of images
- Alerting
- Scheduler
Supported databases
EFAK requires a database to store its configuration data, such as users, data sources, and dashboards. The exact requirements depend on the size of the EFAK installation and features used.
EFAK supports the following databases:
- MySQL
- SQLite
By default, EFAK installs with and uses SQLite, which is an embedded database stored in the EFAK installation location.
Support web browers
EFAK is supported in the current version of the following browsers. Older versions of these browsers might not be supported, so you should always upgrade to the latest version when using EFAK:
- Chrome/Chromium
- Firefox
- Safari
- Microsoft Edge
- Internet Explorer 11
Install Steps
The following installation steps assume that:
1. Java is already installed and environment variables are configured
2. MySQL database has been installed
Click on the link to download EFAK: Kafka-eagle download
Decompress
tar -zxvf kafka-eagle-bin-3.0.1.tar.gz
The decompress EFAK directory
Decompress efak-web-3.0.1-bin.tar.gz
tar -zxvf efak-web-3.0.1-bin.tar.gz
Modify the system-config.properties configuration file in the efake-web-3.0.1 directory. Here, in order to preserve the original configuration file, a new file is copied directly for modification
fedora install mysql reference: How to install mysql in Fedora
mv system-config.properties system-config.properties.bak
cp system-config.properties.bak system-config.properties
Modify the following information to
efak.zk.cluster.alias=testbi-cluster
cluster1.zk.list=192.168.231.128:2181
Configurating EFAK environment variables
sudo vim ~/.bashrc
------------------------------------------------------------------------------
export KE_HOME=/software/kafka-eagle-bin-3.0.1/efak-web-3.0.1/
export PATH=$PATH:$KE_HOME/bin
------------------------------------------------------------------------------
source ~/.bashrc
Note: When configuring EFAK environment variables, the name of the HOME configuration item must be KE_HOME otherwise an error will be reported on subsequent startup.
[2023-02-27 18:22:26] Error: The KE_HOME environment variable is not defined correctly.
[2023-02-27 18:22:26] Error: This environment variable is needed to run this program.
Launch EFAK
./ke.sh start
If the following message and image appears then the start-up was successful:
Go to link address:
Default initial username and password:
username: admin
password: 123456
Log in and we can see: