{"id":19271972,"url":"https://github.com/warfox/kafkapp-clj","last_synced_at":"2025-09-23T17:32:16.331Z","repository":{"id":148303869,"uuid":"620022477","full_name":"WarFox/kafkapp-clj","owner":"WarFox","description":"Kafka consumer and producer examples","archived":false,"fork":false,"pushed_at":"2023-07-12T13:26:58.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-21T18:06:44.449Z","etag":null,"topics":["clojure","kafka","kafka-consumer","kafka-producer","kafka-streams","transactional"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WarFox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2023-03-27T21:56:15.000Z","updated_at":"2023-07-18T09:25:04.000Z","dependencies_parsed_at":"2024-11-09T20:35:11.639Z","dependency_job_id":"ee0a08c4-820a-4ccd-8994-563524f571db","html_url":"https://github.com/WarFox/kafkapp-clj","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WarFox/kafkapp-clj","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarFox%2Fkafkapp-clj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarFox%2Fkafkapp-clj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarFox%2Fkafkapp-clj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarFox%2Fkafkapp-clj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WarFox","download_url":"https://codeload.github.com/WarFox/kafkapp-clj/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarFox%2Fkafkapp-clj/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276616791,"owners_count":25674153,"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-09-23T02:00:09.130Z","response_time":73,"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":["clojure","kafka","kafka-consumer","kafka-producer","kafka-streams","transactional"],"created_at":"2024-11-09T20:35:00.392Z","updated_at":"2025-09-23T17:32:16.306Z","avatar_url":"https://github.com/WarFox.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# warfox/kafkapp-clj\n\nThis is a collection of Kafka Producer and Consumer example apps written in Clojure.\n\n## Consumer\n\nThere are three types of Consumers\n\n- JSON, Avro, Transactional\n\n## Producer\n\nThere are three types of Producers\n\n- JSON, Avro, Tranactional\n\n## Installation\n\nDownload from https://github.com/warfox/kafkapp-clj\n\n## Confluent Local\n\nSetup `confluent` cli by downloading latest TAR file from confluent webisite.\n\nSet the `$CONFLUENT_HOME` and add `$CONFLUENT_HOME/bin` to you `$PATH`\n\nStart your local confluent services by running\n\n```sh\nconfluent local services start\n```\n\n### Setup topics\n\nSetup the topics using the following\n\n```sh\n./bin/setup-topics.sh\n```\n\n## Usage\n\nRun the producer:\n\n```sh\n clj -M:run producer -c avro -t pageviews\n clj -M:run producer -c json -t pageviews\n clj -M:run producer -c transactional -t pageviews\n```\n\nRun the consumer\n\n```sh\n clj -M:run consumer -c avro -t pageviews\n clj -M:run consumer -c json -t pageviews\n clj -M:run consumer -c transactional -t pageviews\n```\n\nRun using `babashka`\n\n```sh\nbb producer -c avro -t pageviews\nbb consumer -c avro -t pageviews\n```\n\n## Build\n\nRun the project's tests (they'll fail until you edit them):\n\n```sh\n$ clojure -T:build test\n```\n\nRun the project's CI pipeline and build an uberjar (this will fail until you edit the tests to pass):\n\n    $ clojure -T:build ci\n\nThis will produce an updated `pom.xml` file with synchronized dependencies inside the `META-INF`\ndirectory inside `target/classes` and the uberjar in `target`. You can update the version (and SCM tag)\ninformation in generated `pom.xml` by updating `build.clj`.\n\nIf you don't want the `pom.xml` file in your project, you can remove it. The `ci` task will\nstill generate a minimal `pom.xml` as part of the `uber` task, unless you remove `version`\nfrom `build.clj`.\n\nRun that uberjar:\n\n    $ java -jar target/com.github.warfox/kafkapp-clj-0.1.0-SNAPSHOT.jar\n\n## Options\n\nFIXME: listing of options this app accepts.\n\n## Examples\n\n...\n\n## Refer\n\nRefer below types\n- org.apache.avro.generic.GenericRecord\n- org.apache.avro.generic.GenericData$Record\n- org.apache.avro.Schema\n- org.apache.kafka.common.serialization.StringSerializer\n- io.confluent.kafka.serializers.KafkaAvroSerializer;\n\nhttps://docs.confluent.io/platform/current/schema-registry/serdes-develop/serdes-avro.html#avro-serializer\n\n### Bugs\n\n...\n\n### Any Other Sections\n### That You Think\n### Might be Useful\n\n## License\n\nCopyright © 2023 Deepu Mohan Puthrote\n\n_EPLv1.0 is just the default for projects generated by `deps-new`: you are not_\n_required to open source this project, nor are you required to use EPLv1.0!_\n_Feel free to remove or change the `LICENSE` file and remove or update this_\n_section of the `README.md` file!_\n\nDistributed under the Eclipse Public License version 1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarfox%2Fkafkapp-clj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarfox%2Fkafkapp-clj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarfox%2Fkafkapp-clj/lists"}