{"id":20230979,"url":"https://github.com/bewaremypower/batch-deleted-topics","last_synced_at":"2025-08-31T01:36:21.190Z","repository":{"id":200929468,"uuid":"706555377","full_name":"BewareMyPower/batch-deleted-topics","owner":"BewareMyPower","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-20T06:44:33.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-31T01:36:20.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/BewareMyPower.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":"2023-10-18T07:21:26.000Z","updated_at":"2023-10-27T22:43:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"359a8325-e2e3-4b62-972a-f2da2b45cafc","html_url":"https://github.com/BewareMyPower/batch-deleted-topics","commit_stats":null,"previous_names":["bewaremypower/batch-deleted-topics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BewareMyPower/batch-deleted-topics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fbatch-deleted-topics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fbatch-deleted-topics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fbatch-deleted-topics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fbatch-deleted-topics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BewareMyPower","download_url":"https://codeload.github.com/BewareMyPower/batch-deleted-topics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BewareMyPower%2Fbatch-deleted-topics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272930002,"owners_count":25017057,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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-14T07:44:44.133Z","updated_at":"2025-08-31T01:36:21.134Z","avatar_url":"https://github.com/BewareMyPower.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# batch-delete-topics\n\nA CLI tool to delete topics whose name contains \"test-topic\" under \"public/default\" namespace.\n\nThe motivation is that when running openmessaging benchmark for KoP, many topics might be created while the topic auto deletion are disabled.\n\n## Usage\n\nMake sure you have a C++ compiler that supports C++17.\n\nFirst, download the `nlohmann/json` repo as the library to handle JSON strings.\n\n```bash\ngit clone https://github.com/nlohmann/json.git\n```\n\nThen, build the CLI tool (assuming the compiler is `g++`):\n\n```bash\n./build.sh\n```\n\nGet the URL (e.g. `https:/xxx`) and token from SN cloud and run:\n\n```bash\n./a.out \u003curl\u003e \u003ctoken\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbewaremypower%2Fbatch-deleted-topics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbewaremypower%2Fbatch-deleted-topics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbewaremypower%2Fbatch-deleted-topics/lists"}