First contact the flume and kafka, when set the configuration files of the flume, initially set the borker is hostname + port (screenshot in figure marked position, ensure correct hostname and port mapping in the hosts file, use the host name + port no problem), start the flume failure, prompt Failed to construct kafka producer, is also unable to construct producers, I change the borker to IP + port behind, but it can be launched, so want to ask big door, set inside the flume borker can only use a IP
CodePudding user response:
Is there any understanding of the flume
CodePudding user response:
I suspect that you are not setting the host alias, you check out:
You use vim/etc/hostname to see a host name is correct,
Again using the vim command/etc/hosts to see whether to configure the host name, not configuration configuration,