Required Kafka topics for KafkaSQL storage and data import when migration from v2.6.x #6894
-
|
During migration, we discovered that importing data from v2 to v3 fails silently without the Observed behavior without registry-events topic:
Questions
The https://www.apicur.io/registry/docs/apicurio-registry/3.0.x/getting-started/assembly-migrating-registry-v2-v3.html doesn't explicitly list the required topics. We had to discover through trial and error that we need: Are all 4 topics mandatory? Specifically: We used the following, but want to confirm it's correct:
We granted Read, Write, Describe, DescribeConfigs, and Create for all topics. Is this correct?
Currently, it returns HTTP 204 (success) even when registry-events is missing, which is misleading. Reproduction
Thank you! Andrea |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello, there is some information in the documentation here https://www.apicur.io/registry/docs/apicurio-registry/3.1.x/getting-started/assembly-registry-high-availability.html#_kafkasql_topic_configuration but we definitely need to improve it. There are 3 topics used by Registry,
We'll let you know more details when we discuss how to improve this. |
Beta Was this translation helpful? Give feedback.
-
|
Note: The fourth topic you mean is probably the journal topic of Registry v2, it is not needed after the migration. It has the same default name as in v3, but the migration guide mentions this. |
Beta Was this translation helpful? Give feedback.
Hello, there is some information in the documentation here https://www.apicur.io/registry/docs/apicurio-registry/3.1.x/getting-started/assembly-registry-high-availability.html#_kafkasql_topic_configuration but we definitely need to improve it.
There are 3 topics used by Registry,
kafkasql-journalis the "Main schemas topic". The failure during the import is not directly related toregistry-events, it's just one of the topics that Registry currently expects. As of3.1.4, Registry will perform a topic check on startup and fail if a topic is missing or misconfigured.Read,Write,DescribeandDescribeConfigsshould be enough if you create the topics manually, and Registry has to be able toC…