You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 16, 2026. It is now read-only.
[FEATURE] Support running KoP with Confluent Schema Registry #241
Is your feature request related to a problem? Please describe.
Currently Confluent Schema Registry cannot run with KoP because KoP doesn't support CreateTopics and DescribeConfigs requests. Also, it causes that Kafka's AdminClient doesn't work currently.
P.S. since KoP is based on Kafka 2.0.0, the related Confluent Schema Registry version is 5.0.0.
After #244 , the Confluent Schema Registry still failed because it will simply send a record and consume until the offset:
publicvoidwaitUntilKafkaReaderReachesLastOffset(inttimeoutMs) throwsStoreException {
longoffsetOfLastMessage = getLatestOffset(timeoutMs);
log.info("Wait to catch up until the offset of the last message at " + offsetOfLastMessage);
kafkaTopicReader.waitUntilOffset(offsetOfLastMessage, timeoutMs, TimeUnit.MILLISECONDS);
log.debug("Reached offset at " + offsetOfLastMessage);
}
After #206 ,the topic names returned by admin.listTopics()contain the namespace prefix, so it will call createSchemaTopic(admin) again. So we need to fix it and add a unit test of Kafka AdminClient.
After building KoP with a branch that merges #251 and #254 , the KoP runs well with Confluent Schema Registry no matter if the schema topic exists. So this issue can be closed after they're merged. PTAL, @jiazhai
Activity
BewareMyPower commentedon Nov 27, 2020
After #244 , the Confluent Schema Registry still failed because it will simply send a record and consume until the offset:
However, KoP doesn't return the offset field to producer now. It's simply set -1. So we need to fix it first.
Fill the offset field of PartitionResponse (#245)
Support CreateTopics request (#244)
BewareMyPower commentedon Dec 7, 2020
Confluent Schema Registry will still fail if
_schemasalready exist. It's caused by:After #206 ,the topic names returned by
admin.listTopics()contain the namespace prefix, so it will callcreateSchemaTopic(admin)again. So we need to fix it and add a unit test of KafkaAdminClient.BewareMyPower commentedon Dec 7, 2020
After building KoP with a branch that merges #251 and #254 , the KoP runs well with Confluent Schema Registry no matter if the schema topic exists. So this issue can be closed after they're merged. PTAL, @jiazhai
Remove namespace prefix for topics in the default namespace (#254)
Support DescribeConfigs request (#251)