Getting error topic not present in metadata

getting error topic not present in metadata. i have checked all settings are alright
have recreated confluent cluster , and topic
bootstrap.servers=pkc-34534z.us-west2.gcp.confluent.cloud:9091
input.topic.name=topic_new;
security.protocol=SASL_SSL
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username=‘Key’ password=‘Pwd’;
sasl.mechanism=PLAIN
client.dns.lookup=use_all_dns_ips
session.timeout.ms=45000
acks=all
schema.registry.url=https://psrc-56q1m1.asia-south1.gcp.confluent.cloud
basic.auth.credentials.source=USER_INFO
basic.auth.user.info={{ Key }}:{{ Pwd }}

config.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, StringSerializer.class.getName());
config.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, StringSerializer.class.getName());

String key = “key1”;
String value = “value1”;
Producer<String, String> producer = new KafkaProducer<>(config);
ProducerRecord<String, String> producerRecord =new ProducerRecord<>(topic, key, value);
producer.send(producerRecord);

What does your topic variable look like? Does the string match “topic_new” precisely?