{"id":18758555,"url":"https://github.com/rollulus/kafka-streams-csv2avro","last_synced_at":"2025-12-02T04:30:26.411Z","repository":{"id":144306884,"uuid":"57047257","full_name":"rollulus/kafka-streams-csv2avro","owner":"rollulus","description":"A generic csv to Avro mapper","archived":false,"fork":false,"pushed_at":"2016-04-29T16:20:20.000Z","size":19,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T15:47:24.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/rollulus.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-25T14:14:05.000Z","updated_at":"2016-04-25T14:14:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7aa975db-7d6b-43ae-bb0a-e5000fadb558","html_url":"https://github.com/rollulus/kafka-streams-csv2avro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rollulus/kafka-streams-csv2avro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollulus%2Fkafka-streams-csv2avro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollulus%2Fkafka-streams-csv2avro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollulus%2Fkafka-streams-csv2avro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollulus%2Fkafka-streams-csv2avro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollulus","download_url":"https://codeload.github.com/rollulus/kafka-streams-csv2avro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollulus%2Fkafka-streams-csv2avro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27445656,"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-12-02T02:00:06.387Z","response_time":54,"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-11-07T17:46:50.146Z","updated_at":"2025-12-02T04:30:26.124Z","avatar_url":"https://github.com/rollulus.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"Generic Csv to Avro mapper\n==========================\n\n[![Build Status](https://travis-ci.org/rollulus/kafka-streams-csv2avro.svg?branch=master)](https://travis-ci.org/rollulus/kafka-streams-csv2avro)\n\nMaps csv records to Avro records.\n\nProof of concept.\nWork in progress. \n\nInput\n-----\n\nA stream with String values, each String is a csv record.\n\nOutput\n------\n\nA stream with Avro records. The fields of the record correspond to the csv values.\n\nQuick Example\n-------------\n\nFor example, provided that this Avro schema is given in the configuration:\n\n```json\n{\"type\": \"record\", \"name\": \"Person\", \"fields\" : [\n    {\"name\": \"firstName\", \"type\": \"string\"},\n    {\"name\": \"lastName\", \"type\": \"string\"},\n    {\"name\": \"length\", \"type\": \"float\"},\n    {\"name\": \"awesome\", \"type\": \"boolean\"}]}\n```\n\nAnd that the .csv layout is described like:\n\n```properties\ncsv.separator=,\ncsv.columns=awesome,length,,firstName,lastName\n```\n\nThen the stream processor will map inputs like this:\n\n    true,1.96,male,Rollulus,Rouloul\n\nTo an Avro record whose JSON representation is:\n\n    {\"firstName\":\"Rollulus\",\"lastName\":\"Rouloul\",\"length\":1.96,\"awesome\":true}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollulus%2Fkafka-streams-csv2avro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollulus%2Fkafka-streams-csv2avro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollulus%2Fkafka-streams-csv2avro/lists"}