When creating a changefeed that uses Schema Registry and a specific topic, CRDB queries for the key schema using the table name as the subject instead of the topic_name specified in the changefeed.
create changefeed for table table1
into
'kafka://kfk:9092?topic_name=topic1'
with
format = avro,
confluent_schema_registry = 'https://sr:8081/';
This will result in a HTTP POST call to this endpoint:
When creating a changefeed that uses Schema Registry and a specific topic, CRDB queries for the key schema using the table name as the
subject
instead of thetopic_name
specified in the changefeed.This will result in a HTTP POST call to this endpoint:
instead of
This request is to be able to pass a parameter to specify the Schema Registry subject name independently of topic or table name.
Slack
Jira issue: CRDB-34206
gz#19626