Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error initializing kafka store while initializing schema registry #146

Open
sameera opened this issue May 30, 2024 · 0 comments
Open

Error initializing kafka store while initializing schema registry #146

sameera opened this issue May 30, 2024 · 0 comments

Comments

@sameera
Copy link

sameera commented May 30, 2024

I'm trying to up zk-single-kafka-single.yml as in the video https://www.youtube.com/watch?v=Zq8aMrRnvQE
I'm getting the following error:

zoo1                   | [2024-05-30 19:10:04,712] INFO Expiring session 0x10009b287530000, timeout of 18000ms exceeded (org.apache.zookeeper.server.ZooKeeperServer)
kafka-schema-registry  | [2024-05-30 19:11:01,614] ERROR Error starting the schema registry (io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication)
kafka-schema-registry  | io.confluent.kafka.schemaregistry.exceptions.SchemaRegistryInitializationException: Error initializing kafka store while initializing schema registry
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.init(KafkaSchemaRegistry.java:321)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.initSchemaRegistry(SchemaRegistryRestApplication.java:75)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.configureBaseApplication(SchemaRegistryRestApplication.java:90)
kafka-schema-registry  | 	at io.confluent.rest.Application.configureHandler(Application.java:285)
kafka-schema-registry  | 	at io.confluent.rest.ApplicationServer.doStart(ApplicationServer.java:270)
kafka-schema-registry  | 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:44)
kafka-schema-registry  | Caused by: io.confluent.kafka.schemaregistry.storage.exceptions.StoreInitializationException: io.confluent.kafka.schemaregistry.storage.exceptions.StoreException: Failed to write Noop record to kafka store.
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaStore.init(KafkaStore.java:151)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.init(KafkaSchemaRegistry.java:319)
kafka-schema-registry  | 	... 6 more
kafka-schema-registry  | Caused by: io.confluent.kafka.schemaregistry.storage.exceptions.StoreException: Failed to write Noop record to kafka store.
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaStore.getLatestOffset(KafkaStore.java:493)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaStore.waitUntilKafkaReaderReachesLastOffset(KafkaStore.java:296)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaStore.init(KafkaStore.java:149)
kafka-schema-registry  | 	... 7 more
kafka-schema-registry  | Caused by: java.util.concurrent.TimeoutException: Timeout after waiting for 60000 ms.
kafka-schema-registry  | 	at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:76)
kafka-schema-registry  | 	at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:30)
kafka-schema-registry  | 	at io.confluent.kafka.schemaregistry.storage.KafkaStore.getLatestOffset(KafkaStore.java:488)
kafka-schema-registry  | 	... 9 more
kafka-schema-registry exited with code 1

What could be wrong and what can I do to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant