-
Hi, I have topics containing the schemas for the messages, automatically generated by with Avro. The schemas seem to be showing under the Schema view in the Kafka-UI, but I can't seem to get them to relate to the actual topics. I tried adding the environment variable: Is it possible to connect the schemas with the topics? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I just found the solution myself. It seems that it is expected to also include the protocol when assigning the address to the schema registry. Since I have the schema registry running the same way I am running the kafka and zookeeper services, I simply assumed that one should exempt the protocol. My helm configuration ended up looking as follows, for those who are interested: kafka-ui:
envs:
config:
KAFKA_CLUSTERS_0_NAME: "local"
KAFKA_CLUSTERS_0_ZOOKEEPER: "local-zookeeper-svc:6990"
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: "local-kafka-svc:6991"
KAFKA_CLUSTERS_0_SCHEMAREGISTRY: "http://local-schema-registry-svc:6992" Please note that the name and ports on the services are not default confluent values! |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for this self Q&A! :D Also, it works like this: if you have a schema called "test" and a topic with the name "test-%something%" then the topic will use the corresponding schema. |
Beta Was this translation helpful? Give feedback.
I just found the solution myself. It seems that it is expected to also include the protocol when assigning the address to the schema registry. Since I have the schema registry running the same way I am running the kafka and zookeeper services, I simply assumed that one should exempt the protocol. My helm configuration ended up looking as follows, for those who are interested:
Please note that the name and ports on the ser…