{"id":16488726,"url":"https://github.com/bts/test_kafka","last_synced_at":"2025-10-27T20:30:49.528Z","repository":{"id":59157645,"uuid":"14247633","full_name":"bts/test_kafka","owner":"bts","description":"Ruby Kafka runner suitable for integration testing","archived":false,"fork":false,"pushed_at":"2015-06-01T22:12:56.000Z","size":180,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T07:51:10.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/bts.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-08T23:52:59.000Z","updated_at":"2015-03-09T13:41:52.000Z","dependencies_parsed_at":"2022-09-13T20:03:48.518Z","dependency_job_id":null,"html_url":"https://github.com/bts/test_kafka","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ftest_kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ftest_kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ftest_kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Ftest_kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bts","download_url":"https://codeload.github.com/bts/test_kafka/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238552950,"owners_count":19491350,"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-10-11T13:39:45.873Z","updated_at":"2025-10-27T20:30:44.265Z","avatar_url":"https://github.com/bts.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestKafka\n\nMinimal Kafka 0.8 runner suitable for integration testing.\n\nAdapted from the excellent [poseidon](https://github.com/bpot/poseidon)'s integration tests.\n\n## Installation\n\nAdd TestKafka to your application's Gemfile:\n\n```ruby\ngem 'test_kafka', '~\u003e 0.1.1'\n```\n\nand bundle:\n\n    $ bundle\n\n## Usage\n\n```ruby\nrequire 'test_kafka'\n\ncluster = TestKafka.start('/usr/local/kafka')\n# or specify custom a temp directory and kafka/zk ports:\n# cluster = TestKafka.start('/usr/local/kafka', '/tmp', 9092, 2181)\n\n# ... interact with Kafka/ZK ...\n\ncluster.with_interruption do\n  # broker temporarily stopped in this block\nend\n\n# broker is back up\n\ncluster.stop\n```\n\n## Requirements\n\n* Kafka 0.8 or higher\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbts%2Ftest_kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbts%2Ftest_kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbts%2Ftest_kafka/lists"}