# Failed to get Kafka cluster id while creating Schema Registry pod

**URL:** <https://forum.confluent.io/t/failed-to-get-kafka-cluster-id-while-creating-schema-registry-pod/8680>\
**Category:** Schema Registry\
**Created:** [12 September 2023 11:49 UTC](https://forum.confluent.io/t/failed-to-get-kafka-cluster-id-while-creating-schema-registry-pod/8680 "2023-09-12T11:49:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Habib](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@Habib](https://forum.confluent.io/u/Habib)\
**Post date:** [12 September 2023 11:49 UTC](https://forum.confluent.io/t/failed-to-get-kafka-cluster-id-while-creating-schema-registry-pod/8680/1 "2023-09-12T11:49:59Z")

</div>

We are creating Confluent cluster in Openshift and using CFK for the same. Our Kafka brokers , Zookeeper is running fine but while starting the Schema Registry we are getting the below error.  
Can someone please help.

[ERROR] 2023-09-12 10:59:57,431 [main] io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication initSchemaRegistry - Error starting the schema registry  
io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryException: Failed to get Kafka cluster ID  
at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.kafkaClusterId(KafkaSchemaRegistry.java:1502)  
at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.(KafkaSchemaRegistry.java:166)  
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.initSchemaRegistry(SchemaRegistryRestApplication.java:71)  
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.configureBaseApplication(SchemaRegistryRestApplication.java:90)  
at io.confluent.rest.Application.configureHandler(Application.java:271)  
at io.confluent.rest.ApplicationServer.doStart(ApplicationServer.java:245)  
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)  
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:44)  
Caused by: java.util.concurrent.TimeoutException  
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)  
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)  
at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:180)  
at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.kafkaClusterId(KafkaSchemaRegistry.java:1500)

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [18 September 2023 06:21 UTC](https://forum.confluent.io/t/failed-to-get-kafka-cluster-id-while-creating-schema-registry-pod/8680/2 "2023-09-18T06:21:54Z")

</div>

Please share more details, such as your CFK registry config
