Kafka configurate broker mapping error: discovered coordinator XXX rack: null

The following errors are reported and continue to be brushed:
discovered coordinator tbds-172-16-122-43:6667 (ID: 2147482646 rack: null) 2
the reason is that the hosts mapping is not configured well:
C:\windows\system32\drivers\etc

change it to this way, which can be used to

pay attention to line feed!!!

Read More: