Backup Kafka

Before you begin the upgrade process, you need to explicitly set the Kafka protocol version to match what's being used currently among the brokers and clients. Update on all brokers as follows:

  1. Log in to Ambari.
  2. Choose the Kafka service.
  3. Select the Configs page.
  4. Find the Custom kafka-broker section.
  5. Add the following properties:
    • log.message.format.version=current_Kafka_version

    Replace current_Kafka_version with the version of Apache Kafka currently being used, in case of HDP-2.6.5 it is 1.0.

  6. Save your changes. The information is automatically copied to each broker.