Configuring "advertised.listeners"

Advertised listeners is between client and brokers. I don’t understand what the database has to do with it. Can you maybe explain a bit more your question?