Running Apache Kafka and Zookeeper with systemd - 7.1

Talend Data Integration Installation Guide for Linux

EnrichVersion
7.1
EnrichProdName
Talend Data Integration
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Runtime
Talend Studio
Start, stop and monitor the status of the Apache Kafka and Zookeeper services using systemd.

Procedure

  • Start the services using the following commands:
    sudo systemctl start talend-zookeeper
    sudo systemctl start talend-kafka
    Note: Start the Zookeeper service before the Kafka service.
  • Stop the services using the following commands:
    sudo systemctl stop talend-zookeeper
    sudo systemctl stop talend-kafka
  • Check the status of the services using the following commands:
    sudo systemctl status talend-zookeeper
    sudo systemctl status talend-kafka
  • Check logging information using the journalctl command.
    For example:
    • To list service journal entries:
      sudo journalctl --unit talend-zookeeper
      sudo journalctl --unit talend-kafka
    • To list service journal entries after a specific date:
      sudo journalctl --unit talend-zookeeper --since "2018-08-17 13:15:17"
      sudo journalctl --unit talend-kafka --since "2018-08-17 13:15:17"