{"id":20834952,"url":"https://github.com/hstreamdb/fetcher","last_synced_at":"2025-08-24T06:32:51.580Z","repository":{"id":41065198,"uuid":"508180922","full_name":"hstreamdb/fetcher","owner":"hstreamdb","description":"A command line tool to read all data from a given stream","archived":false,"fork":false,"pushed_at":"2022-06-28T07:00:25.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T09:12:35.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hstreamdb.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}},"created_at":"2022-06-28T06:26:23.000Z","updated_at":"2022-06-28T06:51:49.000Z","dependencies_parsed_at":"2022-09-07T03:10:13.955Z","dependency_job_id":null,"html_url":"https://github.com/hstreamdb/fetcher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hstreamdb/fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Ffetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Ffetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Ffetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Ffetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hstreamdb","download_url":"https://codeload.github.com/hstreamdb/fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hstreamdb%2Ffetcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267685022,"owners_count":24127704,"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-07-29T02:00:12.549Z","response_time":2574,"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-18T00:22:02.520Z","updated_at":"2025-07-29T12:12:11.885Z","avatar_url":"https://github.com/hstreamdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nA command line tool to read all data from a given stream.\n\n## Installation\n\n- You can download the binary release suitable for your system\n\n- Or you can build from source code\n\n  ```shell\n  git clone git@github.com:hstreamdb/http-services.git\n  cd http-services\n  make all\n  ```\n\n## Usage\n\n```go\n./fetcher -h\n\nfetcher is a command line tool for consuming data from HStreamDB Cluster.\n\nUsage:\n  fetcher [flags]\n\nFlags:\n  -t, --ack-timeout int32        ack timeout in seconds. (default 60)\n  -c, --consumer-name string     consumer name.\n  -h, --help                     help for fetcher\n  -p, --host string              address of the HStream-server, separated by commas. e.g. 127.0.0.1:6570,127.0.0.2:6570,127.0.0.3:6570 (default \"127.0.0.1:6570\")\n  -i, --interval int32           report statistical information in seconds. intervals less than and equal to 0 means report after all done. (default 3)\n  -n, --stream-name string       name of stream to subscribe\n  -s, --subscription-id string   subscription id.\n  -v, --verbose                  print every fetched records if true.\n  -w, --wait int32               if no more data fetched in wait seconds, then terminate. -1 means never stop. (default 60)\n```\n\n- These `Flags` are required:\n  - `host`: The address information of the `HStreamDB-server`. Can be filled with multiple server addresses at the same time, separated by commas. \n  - `stream-name`：Specify the stream to subscribe to\n  - `subscription-id`：Set a unique id for the subscription\n\n- `verbose`：When this option is turned on, each message received will be printed in real time\n  - Note:  When this option is turned on, the `interval` option will no longer take effect, but will print the total number of entries received after the final execution is completed","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhstreamdb%2Ffetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhstreamdb%2Ffetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhstreamdb%2Ffetcher/lists"}