Updated on 2023-08-31 GMT+08:00

Preparing the Development Environment

The following table lists the development and running environment required for Kafka development.
Table 1 Development environment

Item

Description

OS

  • Development environment: Windows OS. Windows 7 or later is supported.
  • Running environment: Windows or Linux

    If the program needs local debugging, the running environment must be able to communicate with the cluster service plane.

IntelliJ IDEA

Basic configuration for the development environment. JDK 1.8 is used. IntelliJ IDEA 2019.1 or other compatible versions are used.

NOTE:
  • If you are using an IBM JDK, ensure that the JDK configured in IntelliJ IDEA is the IBM JDK.
  • If you are using an Oracle JDK, ensure that the JDK configured in IntelliJ IDEA is the Oracle JDK.
  • If you are using an OpenJDK, ensure that the JDK configured in IntelliJ IDEA is the OpenJDK.

JDK

Basic configurations for the development and running environments. The version requirements are as follows:

If you are using the MRS server and client, only built-in OpenJDK 1.8.0_272 is supported. Other JDKs are not allowed.

If the JAR packages of the SDK classes that need to be referenced by the customer applications run in the application process, the JDK requirements are as follows:

Maven

Basic configuration for the development environment. This tool is used for project management throughout the lifecycle of software development.

Huawei provides an open-source mirror site, Huawei Mirrors. You can download the supportive JAR packages of the sample projects from this site. You can download the rest open-source JAR packages from the Maven central repository or other user-defined repositories. For details, see Configuring Huawei Open-Source Mirrors.

7-zip

This tool is used to decompress *.zip and *.rar files. 7-Zip 16.04 is supported.