xylaaaaa opened a new pull request, #390: URL: https://github.com/apache/doris-thirdparty/pull/390
### What changed - preserve full schema registry URLs for the Kafka connector's Confluent path and normalize `host:port` inputs to `https://host:port` - explicitly keep Schema Registry Basic Auth properties in the final client properties passed to `CachedSchemaRegistryClient` - add focused tests for URL normalization and Basic Auth property propagation ### Why Apache Doris was able to reach StreamNative Kafka through Routine Load and Kafka Connect, but Kafka Catalog failed in the Confluent schema-registry path. The failure had two parts: 1. the schema registry URL was reduced to host text, which broke direct URL construction 2. Basic Auth properties were not reliably present in the final schema-registry client configuration This patch fixes the direct StreamNative path used by Kafka Catalog. ### Validation - `mvn -pl plugin/trino-kafka -Dtest=TestConfluentSchemaRegistryConfig,TestConfluentModule -DfailIfNoTests=false test` - manual Doris validation against StreamNative: - `SHOW DATABASES FROM sn_kafka_sr_fixed` - `SHOW TABLES` after `SWITCH sn_kafka_sr_fixed; USE \`default\`` - `SELECT * FROM doris_schema_avro LIMIT 5` ### Notes - This PR targets the direct Schema Registry access path. - It does not try to address local proxy-specific behavior. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
