{"id":21923799,"url":"https://github.com/soujava/kafka-cdi-microprofile-hello-world-2","last_synced_at":"2026-05-06T08:33:21.059Z","repository":{"id":68473742,"uuid":"207035435","full_name":"soujava/kafka-cdi-microprofile-hello-world-2","owner":"soujava","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-08T09:59:04.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-22T11:19:23.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/soujava.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":"2019-09-07T23:05:39.000Z","updated_at":"2019-12-16T03:09:19.000Z","dependencies_parsed_at":"2024-04-19T05:32:09.370Z","dependency_job_id":null,"html_url":"https://github.com/soujava/kafka-cdi-microprofile-hello-world-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soujava/kafka-cdi-microprofile-hello-world-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fkafka-cdi-microprofile-hello-world-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fkafka-cdi-microprofile-hello-world-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fkafka-cdi-microprofile-hello-world-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fkafka-cdi-microprofile-hello-world-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soujava","download_url":"https://codeload.github.com/soujava/kafka-cdi-microprofile-hello-world-2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soujava%2Fkafka-cdi-microprofile-hello-world-2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260708657,"owners_count":23050069,"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":[],"created_at":"2024-11-28T21:12:50.468Z","updated_at":"2026-05-06T08:33:15.988Z","avatar_url":"https://github.com/soujava.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kafka-cdi-microprofile-hello-world-2 - A hello world using Apache Kafka and Eclipse Microprofile\n\n![Apache Kafka](https://dzone.com/storage/temp/12418896-apache-kafka.png)\n\nApache Kafka is a community distributed streaming platform that has three key capabilities: publish and subscribe to streams of records, store streams of records in a fault-tolerant durable way and then process as streams as they occur. Apache Kafka has several success cases that include at the Java World.,\n\n## Install Apache Kafka\n\nThe official documentation has a nice getting start with Apache Kafka that teaches to install it and also Zookeeper, briefly, Kafka uses Zookeeper to Cluster membership, topic configuration and so on.\n\nDownload the 2.1.0 release and un-tar it.\n\n```shell\ntar -xzf kafka_2.11-2.1.0.tgz\ncd kafka_2.11-2.1.0\n```\n\n* Start first a Zookeeper instance\n\n```shell\nbin/zookeeper-server-start.sh config/zookeeper.properties\n```\n\n* To finally, start with Apache Kafka:\n\n```shell\n bin/kafka-server-start.sh config/server.properties\n```\n\n## Using Docker\n\n![Docker](https://www.docker.com/sites/default/files/social/docker_facebook_share.png)\n\n* [Install Docker](https://docs.docker.com/install/)\n\n* [Install Docker-compose](https://docs.docker.com/compose/install/)\n\nRun the command:\n\n```shell\ndocker-compose -f docker-compose.yml up -d\n```\n\nTo connect as localhost, also defines the Kafka as localhost, within Linux append value below at the /etc/hosts\n\n```shell\n127.0.0.1       localhost kafka\n```\n\nTo stop the services:\n\n```shell\ndocker-compose -f docker-compose.yml down\n```\n\n## Install maven dependencies\n\nRun:\n\n```\nmvn clean install\n```\n\nExecute the `App` at your IDE and check the results.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fkafka-cdi-microprofile-hello-world-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoujava%2Fkafka-cdi-microprofile-hello-world-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoujava%2Fkafka-cdi-microprofile-hello-world-2/lists"}