To roll back Kafka, perform the following steps.

  1. Kafka service depends on Zookeeper. Make sure Zookeeper data is restored.
  2. After rollback, start the Kafka service, and check, if the producers and consumers can connect to the cluster.
  3. Remove the inter broker protocol and log format version settings from the Kafka settings:
    1. Log in to Ambari.
    2. Choose the Kafka service.
    3. Select the Configs page.
    4. Find the Custom kafka-broker section.
    5. Remove following properties:
      • inter.broker.protocol.version=current_Kafka_version
      • log.message.format.version=current_Kafka_version
    6. Restart the Kafka service.
    7. Start Kafka in Ambari UI