{"id":16981480,"url":"https://github.com/elgca/streamsets-scala-script","last_synced_at":"2026-05-08T14:36:50.312Z","repository":{"id":189427171,"uuid":"138888626","full_name":"elgca/streamsets-scala-script","owner":"elgca","description":"在streamsets中使用scala脚本","archived":false,"fork":false,"pushed_at":"2018-07-06T11:52:35.000Z","size":1311,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-21T23:31:32.797Z","etag":null,"topics":["pipeline","scala","streamsets","streamsets-data-collector"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elgca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-27T13:54:15.000Z","updated_at":"2018-07-06T11:52:36.000Z","dependencies_parsed_at":"2023-08-20T03:05:02.500Z","dependency_job_id":null,"html_url":"https://github.com/elgca/streamsets-scala-script","commit_stats":null,"previous_names":["elgca/streamsets-scala-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elgca/streamsets-scala-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgca%2Fstreamsets-scala-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgca%2Fstreamsets-scala-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgca%2Fstreamsets-scala-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgca%2Fstreamsets-scala-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgca","download_url":"https://codeload.github.com/elgca/streamsets-scala-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgca%2Fstreamsets-scala-script/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614283,"owners_count":23798422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["pipeline","scala","streamsets","streamsets-data-collector"],"created_at":"2024-10-14T02:05:36.816Z","updated_at":"2026-05-08T14:36:50.272Z","avatar_url":"https://github.com/elgca.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamsets-scala-script\n\n在streamsets中使用scala脚本\n\n```shell\nmvn package\ncd target/\n# 上传streamsets-scala-script-1.0-SNAPSHOT.tar.gz至streamsets-libs下\ntar -xzvf streamsets-scala-script-1.0-SNAPSHOT.tar.gz\n# 重启sdc\n```\n\n**注意：不可以解压到`user-lib`,必须放在`streamsets-libs`目录下，否则会出现classloader无法获取**\n\n`com.streamsets.datacollector.runner.PipelineRuntimeException: CONTAINER_0800 - Pipeline 'scalascript898cc1c7-c56a-48fd-9c10-b44baaecd0ae' validation error : CONTAINER_0701 - Stage 'ScalaScript_01' initialization error: java.security.AccessControlException: access denied (\"java.lang.RuntimePermission\" \"getClassLoader\")`\n\n# 示例\n\n`example/scala-script.json`\n\n## pipeline\n\n![pipeline](example/pipeline.png)\n\n## 配置依赖\n\n![](example/maven_config.png)\n\n## 执行脚本\n\n![](example/scala-script.png)\n\n## 预览\n\n![](example/preview1.png)\n![](example/preview2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgca%2Fstreamsets-scala-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgca%2Fstreamsets-scala-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgca%2Fstreamsets-scala-script/lists"}