title: Error while creating Topics using KafkaJS
body: <p>I am using the KafkaJS to create the topics.</p>
  <pre><code> const kafka = new Kafka({
  
    connectionTimeout: 10_000,
    authenticationTimeout: 10_000,
    brokers: [`HOST_NAME:9092`],
    clientId: 'example-producer',
    ssl: {
      servername: 'HOST_NAME',
      rejectUnauthorized: false
    },
    sasl: {
      mechanism: 'plain',
      username: '*******',
      password: '******'
    }
  })
  
  const admin = kafka.admin();
  await admin.connect()
  
  const topic = 'test-topics';
  const run = async () =&gt; {
    await admin.connect()
    await admin.createTopics({
      topics: [{ topic }],
      waitForLeaders: true,
    })
    await admin.createPartitions({
      topicPartitions: [{ topic: topic, count: 1}],
    })
  }
  run().catch(e =&gt; kafka.logger().error(`[Kafka-config] ${e.message}`, { stack: e.stack }));
  </code></pre>
  <p>Getting below error:</p>
  <blockquote>
  <p><strong>message&quot;:&quot;[Connection] Response CreateTopics(key: 19, version: 3)&quot;,&quot;broker&quot;:&quot;HOST_NAME:9092&quot;,&quot;clientId&quot;:&quot;example-producer&quot;,&quot;error&quot;:&quot;Request parameters do not satisfy the configured policy&quot;,&quot;correlationId&quot;:3,&quot;size&quot;:58}</strong></p>
  </blockquote>
  <p>But when I tried to list the topic present in the cluster I am getting successful responses
  as <strong>Topic already exist.</strong></p>