{"id":16122053,"url":"https://github.com/foxcapades/docker-apache-kafka","last_synced_at":"2025-06-16T09:09:09.527Z","repository":{"id":90411012,"uuid":"606940106","full_name":"Foxcapades/docker-apache-kafka","owner":"Foxcapades","description":"Dockerized Apache Kafka","archived":false,"fork":false,"pushed_at":"2023-08-10T16:24:58.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T11:48:37.972Z","etag":null,"topics":["apache","docker","kafka"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/foxcapades/apache-kafka","language":null,"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/Foxcapades.png","metadata":{"files":{"readme":"readme.adoc","changelog":null,"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-02-27T01:04:07.000Z","updated_at":"2023-02-27T05:36:03.000Z","dependencies_parsed_at":"2024-11-01T05:25:07.443Z","dependency_job_id":"dcd08672-b817-42f5-b416-73af0019313a","html_url":"https://github.com/Foxcapades/docker-apache-kafka","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"eef89d362a49592fc5e89025da6ab5bdbad47c67"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Foxcapades/docker-apache-kafka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Fdocker-apache-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Fdocker-apache-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Fdocker-apache-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Fdocker-apache-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foxcapades","download_url":"https://codeload.github.com/Foxcapades/docker-apache-kafka/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Fdocker-apache-kafka/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260131555,"owners_count":22963448,"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":["apache","docker","kafka"],"created_at":"2024-10-09T21:09:15.123Z","updated_at":"2025-06-16T09:09:09.449Z","avatar_url":"https://github.com/Foxcapades.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"= Containerized Apache Kafka (KRaft)\n:source-highlighter: highlightjs\n:kafka-docs-url: https://kafka.apache.org/documentation/\n\nA simple Docker image for Apache Kafka using KRaft.\n\nlink:https://hub.docker.com/r/foxcapades/apache-kafka[On DockerHub]\n\n== Usage\n\n[source, bash]\n----\ndocker run -p 9092:9092 foxcapades/apache-kafka:3.4.0\n----\n\n== Configuration\n\n=== Environment\n\n==== Container Config\n\nThe following options are provided as part of the Docker container and are not\npart of Apache Kafka.\n\n[%header, cols=3]\n|===\n| Option | Type | Default\n\nm| KAFKA_SERVER_PROPERTIES_FILE\nm| string\nm| /opt/kafka/server.properties\n\nm| KAFKA_CLUSTER_ID\nm| string\nm| \u003crandom uuid\u003e\n|===\n\n==== `server.properties`\n\nAll Kafka configuration options listed in the\nlink:{kafka-docs-url}#brokerconfigs[official documentation] may be configured\nusing environment variables.  The environment variable to set for a specific\noption may be looked up in the\nlink:https://github.com/Foxcapades/docker-apache-kafka/blob/3.4.0/server.properties.sh[]\nfile, or by performing the following mapping steps:\n\n1. Convert the property name to uppercase\n2. Replace all period (`.`) characters with underscore (`_`) characters\n3. Prepend the prefix `KAFKA_`\n\n.Property to Environment Mapping Snippet\n[source, kotlin]\n----\nfun mapPropertyNameToEnvironmentKey(property: String) =\n  \"KAFKA_\" + property.uppercase().replace('.', '_')\n----\n\n==== Defaults\n\nThe following defaults are set if no environment variables are specified.\n\n[%header, cols=\"3m,7m\"]\n|===\n| Property | Default\n\n| advertised.listeners\n| PLAINTEXT://localhost:9092\n\n| controller.listener.names\n| CONTROLLER\n\n| controller.quorum.voters\n| 1@localhost:9093\n\n| inter.broker.listener.name\n| PLAINTEXT\n\n| listeners\n| PLAINTEXT://:9092,CONTROLLER://:9093\n\n| log.dirs\n| /tmp/kafka\n\n| node.id\n| 1\n\n| offsets.topic.replication.factor\n| 1\n\n| process.roles\n| broker,controller\n\n| transaction.state.log.min.isr\n| 1\n\n| transaction.state.log.replication.factor\n| 1\n|===\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxcapades%2Fdocker-apache-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxcapades%2Fdocker-apache-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxcapades%2Fdocker-apache-kafka/lists"}