NOTE:Antimalware and Vertica require Kafka. Hence, if Antimalware or Vertica is configured in your zone, then you should not remove Kafka. For more information on removing Vertica, see Disabling and Removing Vertica. To remove Antimalware, please contact Global Technical Support.
To disable Kafka:
Disable the following services on the Kafka servers.
microfocus-zenkafka-connect.service: Execute the following commands in the order listed below:
systemctl stop microfocus-zenkafka-connect.service
systemctl disable microfocus-zenkafka-connect.service
microfocus-zenkafka.service: Execute the following commands in the order listed below:
systemctl stop microfocus-zenkafka.service
systemctl disable microfocus-zenkafka.service
microfocus-zenkafka-schema-registry.service: Execute the following commands in the order listed below:
systemctl stop microfocus-zenkafka-schema-registry.service
systemctl disable microfocus-zenkafka-schema-registry.service
Run the following query to remove the opaque entries related to Kafka from the database:
DELETE FROM ZOPAQUEDATA WHERE name LIKE '%kafka%'
Remove the Kafka role from the database:
DELETE FROM ZZENSERVERROLES roles WHERE ROLES = 'Kafka'
Remove the Kafka connector information from the database:
DELETE FROM zKafkaTopicConsumerMetrics;
Restart the ZENserver and ZENloader services on all the servers.