You can use the talend-kafka RPM to install Apache Kafka and ZooKeeper on RPM-based systems supported by Talend and compatible with systemd, such as RHEL or Rocky Linux.
For the full list of supported systems, see Supported versions of third-party systems for Talend Studio.