{"id":16634144,"url":"https://github.com/jcustenborder/kafka-connect-transform-xml","last_synced_at":"2026-03-11T06:32:10.918Z","repository":{"id":57720413,"uuid":"126537698","full_name":"jcustenborder/kafka-connect-transform-xml","owner":"jcustenborder","description":"Transformation for converting XML data to Structured data.","archived":false,"fork":false,"pushed_at":"2022-07-26T12:45:05.000Z","size":48,"stargazers_count":28,"open_issues_count":21,"forks_count":45,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T03:48:43.397Z","etag":null,"topics":["kafka-connect","transformation","xml"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcustenborder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-23T20:52:06.000Z","updated_at":"2025-07-23T11:04:17.000Z","dependencies_parsed_at":"2022-09-02T13:02:01.135Z","dependency_job_id":null,"html_url":"https://github.com/jcustenborder/kafka-connect-transform-xml","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jcustenborder/kafka-connect-transform-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcustenborder%2Fkafka-connect-transform-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcustenborder%2Fkafka-connect-transform-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcustenborder%2Fkafka-connect-transform-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcustenborder%2Fkafka-connect-transform-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcustenborder","download_url":"https://codeload.github.com/jcustenborder/kafka-connect-transform-xml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcustenborder%2Fkafka-connect-transform-xml/sbom","scorecard":{"id":512049,"data":{"date":"2025-08-11","repo":{"name":"github.com/jcustenborder/kafka-connect-transform-xml","commit":"30e3376ccfae7340b4e588b2827fc2a918146351"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T00:48:57.843Z","repository_id":57720413,"created_at":"2025-08-20T00:48:57.843Z","updated_at":"2025-08-20T00:48:57.843Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30373464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kafka-connect","transformation","xml"],"created_at":"2024-10-12T05:29:48.601Z","updated_at":"2026-03-11T06:32:10.893Z","avatar_url":"https://github.com/jcustenborder.png","language":"Java","funding_links":[],"categories":["Data Formats \u0026 Transformations"],"sub_categories":["FreeSWITCH"],"readme":"# Introduction\n\nThis project provides transformations for Kafka Connect that will convert XML text to a Kafka Connect\nstruct based on the configured XML schema. This transformation works by dynamically generating \nJAXB source with [XJC](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/xjc.html) with the\n[xjc-kafka-connect-plugin](https://github.com/jcustenborder/xjc-kafka-connect-plugin) loaded. This \nallows the transformation to efficiently convert XML to structured data for Kafka connect.\n\nUse it in conjunction with a Source connector that reads XML data, such as from a [HTTP REST endpoint](https://www.confluent.io/hub/castorm/kafka-connect-http).\n\n# Transformations\n\n## FromXML(Key)\n\nThis transformation is used to transform XML in the Value of the input into a JSON struct based on the provided XSD. \n\n### Configuration\n\n| Name         | Type   | Importance | Default Value | Validator | Documentation                                                   |\n| ------------ | ------ | ---------- | ------------- | --------- | --------------------------------------------------------------- |\n| schema.path  | List   | High       |               |           | Urls to the schemas to load. http and https paths are supported |\n| xjc.options.automatic.name.conflict.resolution.enabled| Boolean | | False |||\n| xjc.options.strict.check.enabled | Boolean | | True |||\n| xjc.options.verbose.enabled | Boolean | | False |||\n\n#### Standalone Example\n\n```properties\ntransforms=xml_key\ntransforms.xml_key.type=com.github.jcustenborder.kafka.connect.transform.xml.FromXml$Key\n# The following values must be configured.\ntransforms.xml_key.schema.path = http://web.address/my.xsd\n```\n\n#### Distributed Example\n\n```json\n\"transforms\": \"xml_key\",\n\"transforms.xml_key.type\": \"com.github.jcustenborder.kafka.connect.transform.xml.FromXml$Key\",\n\"transforms.xml_key.schema.path\": \"http://web.address/my.xsd\"\n```\n\n## FromXML(Value)\n\nThis transformation is used to transform XML in the Value of the input into a JSON struct based on the provided XSD. \n\n### Configuration\n\n| Name         | Type   | Importance | Default Value | Validator | Documentation                                                   |\n| ------------ | ------ | ---------- | ------------- | --------- | --------------------------------------------------------------- |\n| schema.path  | List   | High       |               |           | Urls to the schemas to load. http and https paths are supported |\n| xjc.options.automatic.name.conflict.resolution.enabled| Boolean | | False |||\n| xjc.options.strict.check.enabled | Boolean | | True |||\n| xjc.options.verbose.enabled | Boolean | | False |||\n\n\n#### Standalone Example\n\n```properties\ntransforms=xml_value\ntransforms.xml_value.type=com.github.jcustenborder.kafka.connect.transform.xml.FromXml$Value\n# The following values must be configured.\ntransforms.xml_value.schema.path = http://web.address/my.xsd\n```\n\n#### Distributed Example\n\n```json\n\"transforms\": \"xml_value\",\n\"transforms.xml_value.type\": \"com.github.jcustenborder.kafka.connect.transform.xml.FromXml$Value\",\n\"transforms.xml_value.schema.path\": \"\u003c Configure me \u003e\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcustenborder%2Fkafka-connect-transform-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcustenborder%2Fkafka-connect-transform-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcustenborder%2Fkafka-connect-transform-xml/lists"}