You can use the encryption tool provided by the Flume client to encrypt some parameter values in the configuration file.
The Flume client has been installed.
cd fusioninsight-flume-Flume component version number/bin
./genPwFile.sh
Input the information that you want to encrypt twice.
cat password.property
If the encryption parameter is used for the Flume server, you need to perform encryption on the corresponding Flume server node. You need to run the encryption script as user omm for encryption.