Skip to content

[kafka] Support subject name mapping for Confluent Schema Registry#378

Merged
morningman merged 1 commit intoapache:trino-435from
morningman:trino-435-subject-mapping
Feb 6, 2026
Merged

[kafka] Support subject name mapping for Confluent Schema Registry#378
morningman merged 1 commit intoapache:trino-435from
morningman:trino-435-subject-mapping

Conversation

@morningman
Copy link
Contributor

@morningman morningman commented Feb 6, 2026

Sometimes the subject name in Schema Registry does not match the Kafka
topic name. This adds a new configuration property
kafka.confluent-schema-registry-subject-mapping that allows users to
manually specify schema.table to topic name mappings.

The mapping is configured as a comma-separated list in the format:
schema1.table1:topic1,schema2.table2:topic2

When a mapping is configured for a given schema.table, the topic name
in TopicAndSubjects is overridden with the mapped value, allowing the
connector to correctly resolve schemas for topics whose subject names
differ from their topic names.

@morningman morningman changed the title [kakfa] add subject mapping [kafka] Support subject name mapping for Confluent Schema Registry Feb 6, 2026
@morningman morningman merged commit d1c8da9 into apache:trino-435 Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant