Learn how to install, upgrade, and uninstall the Kafkorama Gateway on RHEL/CentOS using an RPM package.
As mentioned in the Requirements section, the Kafkorama Gateway
requires Java Runtime Environment (JRE) version 8 or later. For example, to install OpenJDK 8, run as root
:
yum install -y java-1.8.0-openjdk-headless
Validate the installation:
java -version
You should see output similar to:
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b04)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
Download the Kafkorama Gateway as an RPM package and install it by running the following command as root
:
rpm -vi kafkorama-gateway-<version>.<arch>.rpm
Replace <version>
and <arch>
with the actual package version and architecture (e.g. 6.0.22.x86_64.rpm
).
After installation, the following layout is created:
Location | Description |
---|---|
/etc/kafkorama-gateway/kafkorama-gateway.conf |
Default configuration file |
/etc/sysconfig/kafkorama-gateway |
System environment variables |
/etc/kafkorama-gateway/integrations/ |
Configuration files of add-ons |
/var/log/kafkorama-gateway/ |
Log directory |
/usr/share/kafkorama-gateway/kafkorama-gateway.jar |
Executable JAR |
/usr/share/kafkorama-gateway/extensions/ |
Plugins directory |
/usr/bin/kafkorama-gateway |
Start script |
/lib/systemd/system/kafkorama-gateway.service |
Systemd service unit |
/usr/share/doc/kafkorama-gateway/ |
Documentation and license files |
Refer to the Configuration Guide for instructions on customizing the default configuration and system config files.
The service is started automatically after installation. You can manage it using:
systemctl start kafkorama-gateway
systemctl stop kafkorama-gateway
systemctl restart kafkorama-gateway
systemctl status kafkorama-gateway
To test the installation, open a browser on the host machine and navigate to:
http://127.0.0.1:8800
127.0.0.1
with the remote machine's IP address or hostname.
Once your Kafkorama Gateway is running, the next step is to build real-time apps using your preferred programming language. Explore the available Kafkorama SDKs to get started.
To upgrade to a newer version, run:
rpm -vU kafkorama-gateway-<newversion>.<arch>.rpm
.rpmnew
files.
To remove Kafkorama Gateway from your system, run:
rpm -ve kafkorama-gateway