{"id":20761707,"url":"https://github.com/s0rg/clickhouse-kafka-compose","last_synced_at":"2026-05-03T01:41:26.773Z","repository":{"id":191056220,"uuid":"683831941","full_name":"s0rg/clickhouse-kafka-compose","owner":"s0rg","description":"Example docker-compose with clickhouse and kafka or redpanda as event sources","archived":false,"fork":false,"pushed_at":"2023-08-30T18:40:10.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-27T03:58:21.859Z","etag":null,"topics":["clickhouse","docker","docker-compose","example","kafka","redpanda"],"latest_commit_sha":null,"homepage":"","language":"Python","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/s0rg.png","metadata":{"files":{"readme":"README.md","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-08-27T20:48:51.000Z","updated_at":"2025-02-04T14:15:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ef8c559-25ba-49f6-8aa6-4abdfee1421a","html_url":"https://github.com/s0rg/clickhouse-kafka-compose","commit_stats":null,"previous_names":["s0rg/clickhouse-kafka-compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s0rg/clickhouse-kafka-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fclickhouse-kafka-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fclickhouse-kafka-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fclickhouse-kafka-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fclickhouse-kafka-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0rg","download_url":"https://codeload.github.com/s0rg/clickhouse-kafka-compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rg%2Fclickhouse-kafka-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32555839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T00:31:16.350Z","status":"ssl_error","status_checked_at":"2026-05-03T00:31:15.546Z","response_time":132,"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":["clickhouse","docker","docker-compose","example","kafka","redpanda"],"created_at":"2024-11-17T10:25:23.955Z","updated_at":"2026-05-03T01:41:26.756Z","avatar_url":"https://github.com/s0rg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-MIT%20License-blue.svg)](https://github.com/s0rg/clickhouse-kafka-compose/blob/master/LICENSE)\n\n# clickhouse-kafka-compose\n\nExample docker-compose with clickhouse and kafka or redpanda as sources\n\n# usage\n\nStart original `kafka`-variant:\n\n```shell\nmake kafka-up\n```\n\nStop it:\n\n```shell\nmake kafka-down\n```\n\nStop and purge volumes:\n\n```shell\nmake kafka-data-down\n```\n\nSame for `redpanda`-valiant\n\n```shell\nmake redpanda-up\nmake redpanda-down\nmake redpanda-data-down\n```\n\nSend some data (stop it with `C-c`):\n\n```shell\nmake produce\n```\n\nor with `kafkacat`\n\n```shell\nkcat -P -b 127.0.0.1:19092 -t event-queue \u003c your-events.json\n```\n\nsee: [init.sql](initdb.d/00-init.sql) for message structure details.\n\n# exposed ports\n\nBoth variants:\n\n- `127.0.0.1:19092` - message broker\n- `127.0.0.1:9000` - clickhouse\n\nRedpanda-only:\n\n- `127.0.0.1:8080` - redpanda console (web ui)\n\n# dependencies\n\nPlease, make sure you have installed [kafka-python](https://kafka-python.readthedocs.io/en/master/install.html) in order\nto use provided `json-producer.py` script:\n\n```shell\npip install kafka-python\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0rg%2Fclickhouse-kafka-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0rg%2Fclickhouse-kafka-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0rg%2Fclickhouse-kafka-compose/lists"}