Where to update Advertised listeners

I am newbie to kafka and following tutorial
Spring for Apache Kafka® 101: Receiving Messages with KafkaListener

Using Spring boot client, and configured KafkaTemplate, created ‘hobbit’ topic in cloud. Configured apikey and generated props for Spring Boot client. added it to spring application.properties

It builds fine, runs until timeout with failure for each publish, and finally with
Caused by: org.apache.kafka.common.errors.TimeoutException: Topic hobbit not present in metadata after 60000 ms.

After looking at several posts, I understand that need to update Advertised listeners somewhere? Most posts talk about docker settings. I dont have container.

i have IntelliJ project where spring-boot client sits and cluster is in confluent cloud. Dont have clue where to add these advertised listener?

Tutorial doesnt address this issue for standalone clients talking to Cloud server.