-
Notifications
You must be signed in to change notification settings - Fork 573
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
Schema registry failed to initialize internal topic: kafka::exception (unknown_topic_or_partition) #5725
Comments
Schema registry tries to create the topic (it always does this on startup, it's easier than querying for it)
But the broker wasn't available. That's ok, it hasn't started yet. It retries to connect:
It got the list of brokers, good. It connects to them and re-requests topic creation.
It requests metadata:
The leader of It tries to get the offsets from broker
But broker 3 denies all knowledge of the topic, let alone being the leader. Ooops. And then schema registry gives up:
Which is a shame, because I thought it would retry. And then Redpanda figures out the leader:
|
This error manifests an different ways, essentially any request to schema registry can fail if it fails to initialise its topic.
SchemaRegistryTest.test_post_subjects_subject_versions
https://buildkite.com/redpanda/redpanda/builds/13286#018246cc-6232-43bb-9134-c81a6ad4b946
SchemaRegistryTest.test_protobuf
https://buildkite.com/redpanda/redpanda/builds/13300#018248a7-cb3a-4031-8a0e-8f4c7187645e
The text was updated successfully, but these errors were encountered: