How to push schema to Apicurio schema registry without any cdc event/records using Debezium

348 Views Asked by At

Usecase: I need my all schemas for all tables in sql database to be present in apicurio registry without having any cdc records in cdc tables using Debezium.

Currently, schema is pushed to Apicurio for only those table on which CDC is enabled and if any of their record is updated.

Requirement: Is there any way to push all schemas of all cdc enabled tables to Apicurio without cdc events or without modifying any record of any table?

TIA

1

There are 1 best solutions below

1
Tudor Plugaru On

Apicurio has a REST API you could use in order to Create/Read/Update/Delete schemas. Hope it helps. Note that schemas should be compatible with the schemas generated by Debezium if you want Debezium to use those, otherwise, it will fail.