davsclaus opened a new pull request, #3255: URL: https://github.com/apache/camel-kamelets/pull/3255
Fixes #3254. Removes the seven Apicurio Registry Kafka Kamelets that #3184 deprecated (#3182), as part of reducing the Kafka Kamelets to a few (#3144). Since #3203, `kafka-source` and `kafka-sink` take a schema registry with `schemaRegistryVendor`, `schemaRegistryUrl` and `schemaFormat` (#3183). | Removed | Records | Use instead | |---|---|---| | `kafka-not-secured-apicurio-registry-source` | Avro | `kafka-source` with `schemaRegistryVendor: apicurio`, `schemaFormat: avro` | | `kafka-apicurio-registry-not-secured-sink`, `kafka-not-secured-apicurio-registry-sink` | Avro | `kafka-sink` with `schemaRegistryVendor: apicurio`, `schemaFormat: avro` | | `kafka-apicurio-registry-not-secured-source`, `kafka-not-secured-apicurio-registry-json-source` | JSON Schema | None yet: the `kafka` component with the Apicurio serde | | `kafka-batch-apicurio-registry-source`, `kafka-batch-apicurio-registry-not-secured-source` | Avro, many per message | None yet: the `kafka` component with the Apicurio serde, or `kafka-source` with one record per message | ### What changed - **Kamelets:** the seven `kamelets/*.kamelet.yaml`, their copies in `library/camel-kamelets` and their `docs/modules/ROOT/partials/*-description.adoc` are removed. - **`KameletPrefixSchemeEnum`:** the `kafka_apicurio` and `kafka_not_secured` entries go. No Kamelet name starts with those prefixes any more. - **Root `pom.xml`:** the `version.io.quarkus.quarkus-apicurio-registry-avro` property and its entry in the dependency version update script go. Only these Kamelets used them. - **`ValidateKameletsMojo`:** five of these names were excluded from the endpoint option check. They are removed from the exclusion list. - **`remove-headers/kamelets.csv`:** the rows of the two removed sinks are removed. - **Generated:** `nav.adoc`, `kamelets-index.json` and the catalog SBOM, regenerated by the build. ### Known gaps The replacement does not cover everything the removed Kamelets did. These need a note in #3190: - **Apicurio Registry 3.x.** The removed Kamelets used the Apicurio 2.x serde and the `/apis/registry/v2` API. `schemaRegistryVendor: apicurio` uses the 3.x serde, for Apicurio Registry 3.x. - **JSON Schema.** `kafka-source` with `apicurio` and `schemaFormat: json` fails on Camel JBang because of a json-schema-validator version conflict (#3183), so the two JSON Schema sources have no Kamelet replacement yet. - **Batch.** `kafka-batch-source` has no schema registry options yet (#3183). - **Keycloak login to the registry.** `kafka-batch-apicurio-registry-source` and the `kafka-not-secured-apicurio-registry-*` Kamelets logged in to the registry with Keycloak. camel-kafka has no options for a registry login yet (#3183). ### Tests No Citrus test used these Kamelets. `./mvnw clean install` from the root passes, run twice so that the second run packages and validates the new catalog: the Kamelet validation, the catalog tests (including the remove-headers and canonical tests) and the plugin tests. _Claude Code on behalf of Claus Ibsen_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
