{"id":22959997,"url":"https://github.com/phpinnacle/toblerone","last_synced_at":"2025-10-08T22:10:36.362Z","repository":{"id":233373083,"uuid":"628350847","full_name":"phpinnacle/toblerone","owner":"phpinnacle","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-15T23:14:22.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-09T13:01:31.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/phpinnacle.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-15T17:13:39.000Z","updated_at":"2023-04-15T22:03:42.000Z","dependencies_parsed_at":"2024-04-16T00:47:45.013Z","dependency_job_id":null,"html_url":"https://github.com/phpinnacle/toblerone","commit_stats":null,"previous_names":["phpinnacle/toblerone"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/phpinnacle/toblerone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpinnacle%2Ftoblerone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpinnacle%2Ftoblerone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpinnacle%2Ftoblerone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpinnacle%2Ftoblerone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpinnacle","download_url":"https://codeload.github.com/phpinnacle/toblerone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpinnacle%2Ftoblerone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000782,"owners_count":26082851,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-14T18:30:01.053Z","updated_at":"2025-10-08T22:10:36.346Z","avatar_url":"https://github.com/phpinnacle.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kafka Connect Single Message Transforms\n\nThis is an implementation of the [Kafka Connect SMT](https://docs.confluent.io/platform/current/connect/transforms/overview.html) interface \nto offer some widely used transformations\n\n## Build\n\nThe library uses Gradle to build the JAR.\n\n1. Install latest Java SDK.\n2. Checkout the Git repository and change to its root folder.\n3. Execute `./gradlew build`\n\nThe JAR can then be found in the `build/libs/` subfolder.\n\n## Install\n\nAfter the JAR was build as described above, copy it to your Kafka Connect instance into one of the directories listed in\nthe `plugin.path` property in the connect worker configuration file.\n\u003e Make sure to do this on all Kafka Connect worker nodes!\n\nSee the [Confluent Kafka Connect Plugins Userguide](https://docs.confluent.io/home/connect/self-managed/userguide.html#installing-kconnect-plugins) for more details.\n\n## Example\n\n### Connector Configuration\n\n```json\n{\n  \"name\": ...,\n  \"config\": {\n    ...,\n    \"transforms\": \"trim,substring,radix\",\n    \"transforms.trim.type\": \"org.phpinnacle.toblerone.TrimTransform$Value\",\n    \"transforms.trim.fields\": \"comma,separated,list,of,fields\",\n    \"transforms.substring.type\": \"org.phpinnacle.toblerone.SubstringTransform$Value\",\n    \"transforms.substring.fields\": \"foo:1:3,bar:2\",\n    \"transforms.radix.type\": \"org.phpinnacle.toblerone.RadixTransform$Value\",\n    \"transforms.radix.fields\": \"foo:16,bar:36\"\n  }\n}\n```\n\n\u003e Note that the transformer only supports some kind of structured input. So make sure that there is a [converter](https://www.confluent.io/blog/kafka-connect-deep-dive-converters-serialization-explained/) class (e.g. [AvroConverter](https://www.confluent.io/hub/confluentinc/kafka-connect-avro-converter), [JsonConverter](https://www.confluent.io/hub/confluentinc/kafka-connect-json-schema-converter)) like `\"value.converter\": \"io.confluent.connect.avro.AvroConverter\"` that provides the data in a structured format.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpinnacle%2Ftoblerone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpinnacle%2Ftoblerone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpinnacle%2Ftoblerone/lists"}