{"id":21483455,"url":"https://github.com/martinnowak/docker-kafka","last_synced_at":"2025-07-02T14:38:06.495Z","repository":{"id":46104106,"uuid":"117274866","full_name":"MartinNowak/docker-kafka","owner":"MartinNowak","description":"Simple Kafka Container with embedded ZooKeeper","archived":false,"fork":false,"pushed_at":"2021-08-17T16:51:33.000Z","size":11,"stargazers_count":14,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-12T05:52:43.178Z","etag":null,"topics":["docker","gitlab-ci","gitlab-runner","kafka","zookeeper"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/MartinNowak.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}},"created_at":"2018-01-12T18:29:15.000Z","updated_at":"2022-09-14T05:18:53.000Z","dependencies_parsed_at":"2022-07-19T18:04:59.756Z","dependency_job_id":null,"html_url":"https://github.com/MartinNowak/docker-kafka","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fdocker-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fdocker-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fdocker-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinNowak%2Fdocker-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinNowak","download_url":"https://codeload.github.com/MartinNowak/docker-kafka/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226045055,"owners_count":17564916,"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":["docker","gitlab-ci","gitlab-runner","kafka","zookeeper"],"created_at":"2024-11-23T12:47:32.898Z","updated_at":"2024-11-23T12:47:33.369Z","avatar_url":"https://github.com/MartinNowak.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Kafka Container with embedded ZooKeeper\n\nAt the moment GitLab CI does not easily support interconnecting services (see\n[#15220](https://gitlab.com/gitlab-org/gitlab-ce/issues/15220)). This container\nruns ZooKeeper as daemon and Kafka as foreground process, so it can be used\nout-of-the-box for CI testing.\n\nIt follows [Apache Kafka Quickstart](https://kafka.apache.org/quickstart),\nusings the CLI tools shipped with the binary release to start a ZooKeeper daemon\nand the Kafka server.\n\n## Env Options\n\nOptionally use specific broker id, `docker run --rm -it --env=BROKER_ID=1 martinnowak/kafka`.\n```\n# generate unique id by default\nENV BROKER_ID=-1\n```\n\n## Volume\n\nOptionally mount persistent volume, `docker run --rm -it --volume=/tmp/host/kafka:/var/lib/kafka martinnowak/kafka`.\n```\nVOLUME /var/lib/kafka\n```\n\n## Ports\n\nOptionally publish ports on host, `docker run --rm -it --publish=2181:2181 --publish=9092:9092 martinnowak/kafka`.\n```\nEXPOSE 2181/tcp 9092/tcp\n```\n\n## Build Options\n\nOptionally build with a different version, `docker build --build-arg=KAFKA_VERSION=0.11.0.2 .`.\n```\nARG KAFKA_VERSION=1.1.0\nARG SCALA_VERSION=2.11\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinnowak%2Fdocker-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinnowak%2Fdocker-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinnowak%2Fdocker-kafka/lists"}