{"id":23338355,"url":"https://github.com/abhirockzz/kafka-javaee-concurrency-utilities","last_synced_at":"2025-04-09T22:32:19.050Z","repository":{"id":79125142,"uuid":"92861495","full_name":"abhirockzz/kafka-javaee-concurrency-utilities","owner":"abhirockzz","description":"kafEEne: Kafka + Java EE Concurrency Utilities","archived":false,"fork":false,"pushed_at":"2017-06-01T13:34:52.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:24:57.194Z","etag":null,"topics":["concurrency","docker","docker-compose","javaee","kafeene","kafka"],"latest_commit_sha":null,"homepage":"https://abhirockzz.wordpress.com/2017/06/01/kafeene-2-kafka-concurrency-utilities/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhirockzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-05-30T18:01:48.000Z","updated_at":"2022-08-07T17:32:37.000Z","dependencies_parsed_at":"2023-03-12T06:43:53.681Z","dependency_job_id":null,"html_url":"https://github.com/abhirockzz/kafka-javaee-concurrency-utilities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-javaee-concurrency-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-javaee-concurrency-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-javaee-concurrency-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Fkafka-javaee-concurrency-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhirockzz","download_url":"https://codeload.github.com/abhirockzz/kafka-javaee-concurrency-utilities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248123536,"owners_count":21051489,"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":["concurrency","docker","docker-compose","javaee","kafeene","kafka"],"created_at":"2024-12-21T03:13:41.714Z","updated_at":"2025-04-09T22:32:19.042Z","avatar_url":"https://github.com/abhirockzz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Check [the blog](https://abhirockzz.wordpress.com/2017/05/30/kafeene-2-kafka-concurrency-utilities) for more details\r\n\r\n## Start with Docker Compose\r\n\r\n- `git clone https://github.com/abhirockzz/kafka-javaee-concurrency-utilities.git`\r\n- `mvn clean install` - creates `kafka-concurrency-utils` in `target` directory\r\n- `docker-compose up --build` - starts Kafka, Zookeeper, Payara and Producer containers (you can switch to any other [Java EE runtime](https://github.com/abhirockzz/kafka-javaee-concurrency-utilities/blob/master/Dockerfile#L1))\r\n\r\n## Results\r\n\r\n![](https://abhirockzz.files.wordpress.com/2017/06/kafka-javaee-conc-utils-snapshot.jpg)\r\n\r\nThe results you'll see might be similar to this. Here is the gist. The above snapshot shows data from three (consumer) poll loops\r\n\r\n- Producer pushed one record\r\n- Each loop fetched 1 record (that's just co-incidence, not by design) and its completely independent of the producer\r\n- After each loop (task), the offset commit process got triggered - in this example we have 3 partitions and the offset for each partition is printed to the console\r\n- If you notice carefully, the committed offset (for a particular loop) will be in line with the data which was consumed (note: committed offset points to the next offset i.e. one more than the offset that offset which was last consumed)\r\n\r\n## bye-bye\r\n\r\n`docker-compose down -v` once you're done....\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhirockzz%2Fkafka-javaee-concurrency-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhirockzz%2Fkafka-javaee-concurrency-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhirockzz%2Fkafka-javaee-concurrency-utilities/lists"}