{"id":19136844,"url":"https://github.com/mdub/kafka-playtime","last_synced_at":"2026-06-24T07:31:17.691Z","repository":{"id":66633518,"uuid":"114576127","full_name":"mdub/kafka-playtime","owner":"mdub","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-19T23:29:05.000Z","size":15,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-13T07:21:51.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/mdub.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":"2017-12-17T23:20:43.000Z","updated_at":"2018-10-19T23:29:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4130b75-650f-4abb-9406-76cf4f403581","html_url":"https://github.com/mdub/kafka-playtime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdub/kafka-playtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fkafka-playtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fkafka-playtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fkafka-playtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fkafka-playtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdub","download_url":"https://codeload.github.com/mdub/kafka-playtime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdub%2Fkafka-playtime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34722621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T06:35:40.967Z","updated_at":"2026-06-24T07:31:17.670Z","avatar_url":"https://github.com/mdub.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kafka playtime\n\n[Progress tracking](https://github.com/mdub/kafka-playtime/projects/1)\n\n# Running on Linux\n\nPrefix commands with `sudo` due to the docker daemon running as `root`.\n\nThere seems to be [a bug with docker-compose](https://github.com/docker/compose/issues/4076#issuecomment-324932294) where it takes ~40ms to connect to the terminal output of the container, so stuff logged to the terminal in this time is lost. The best workaround seems to be adding a delay of 0.1 seconds like so:\n\n```bash\nsudo ./auto/dev sh -c 'sleep 0.1; scripts/publish'\n```\n\n## Setup\n\n```bash\n./auto/dev/setup\n```\n\n## Usage\n\n### Shell\n\nTo open a shell in the console container that has the Kafka management utils:\n\n```bash\n./auto/dev/console\n```\n\n### Watch events\n\nTo watch all raw events, starting from the beginning:\n\n```bash\n./auto/dev/console scripts/watch\n```\n\n### Watch robot commands (same as events)\n\nTo watch all raw events, from now onwards:\n\n```bash\n./auto/dev/robctl watch commands\n```\n\nStarting from the beginning:\n\n```bash\n./auto/dev/robctl watch commands --history\n```\n\n### Watch board\n\nTo watch the toy robot world, viewing the board and all robots:\n\n```bash\n./auto/dev/robctl watch world\n```\n\n### Control a robot\n\nTo control a robot:\n\n```bash\n./auto/dev/robctl control ROBOT_NAME\n```\n\nValid commands are:\n\n```\nplace 0 0 s\nplace 4 4 n\nmove\nleft\nright\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdub%2Fkafka-playtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdub%2Fkafka-playtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdub%2Fkafka-playtime/lists"}