{"id":18865767,"url":"https://github.com/bitxon/java-spring-kafka","last_synced_at":"2026-04-29T08:33:46.893Z","repository":{"id":253164585,"uuid":"747921229","full_name":"bitxon/java-spring-kafka","owner":"bitxon","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-01T17:33:36.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T13:15:03.033Z","etag":null,"topics":["java","kafka","spring"],"latest_commit_sha":null,"homepage":"","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/bitxon.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":"2024-01-24T22:40:28.000Z","updated_at":"2025-02-01T14:23:58.000Z","dependencies_parsed_at":"2024-09-07T11:28:55.041Z","dependency_job_id":"a15282f5-3c8e-400e-b4c6-13670ab5fc27","html_url":"https://github.com/bitxon/java-spring-kafka","commit_stats":null,"previous_names":["bitxon/java-spring-kafka"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitxon/java-spring-kafka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitxon%2Fjava-spring-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitxon%2Fjava-spring-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitxon%2Fjava-spring-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitxon%2Fjava-spring-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitxon","download_url":"https://codeload.github.com/bitxon/java-spring-kafka/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitxon%2Fjava-spring-kafka/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32417804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["java","kafka","spring"],"created_at":"2024-11-08T05:04:33.614Z","updated_at":"2026-04-29T08:33:46.877Z","avatar_url":"https://github.com/bitxon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Spring Kafka\n\nThis is a playground for Spring \u0026 Kafka\n\n---\n## Kafka: Single Pojo Processing\n\n### Description\n- `OrderListener` simulates long-running operation - 2000millis for one message, but topic has 3 partitions and listener has `concurrency = \"3\"` so we parallelize processing.\n- `PaymentListener` simulates failure using custom exceptions Retryable and Non-Retryable\n\n### Run\n```shell\ndocker compose up -d\n```\n```shell\n./gradlew kafka-single-pojo:bootRun\n```\n\n---\n## Kafka: Single Pojo Processing | Reply  Topic + DLQ Topic\n\n### Description\n- `InvoiceForwardingListener` forward message from `invoice-request` to `invoice-response` but in case of error to `invoice-dlq`\n\n### Run\n```shell\ndocker compose up -d\n```\n```shell\n./gradlew kafka-single-pojo-reply-or-dlq:bootRun\n```\n\n---\n## Kafka: Batch Pojo (v1) Processing\n\n### Description\n- `ShipmentBatchListener` simulates failure using custom exceptions Retryable and Non-Retryable in **Batch**\n\n### Run\n```shell\ndocker compose up -d\n```\n```shell\n./gradlew kafka-batch-pojo:bootRun\n```\n\n---\n## Kafka: Batch Pojo (v2) Processing\nThis module has the same logic as v1 but configuration is done without Spring auto-configurations\n\n### Description\n- `ShipmentBatchListener` simulates failure using custom exceptions Retryable and Non-Retryable in **Batch**\n\n### Run\n```shell\ndocker compose up -d\n```\n```shell\n./gradlew kafka-batch-pojo-v2:bootRun\n```\n\n---\n## Test\n\n[Open Kafka-UI](http://localhost:9000)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitxon%2Fjava-spring-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitxon%2Fjava-spring-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitxon%2Fjava-spring-kafka/lists"}