{"id":19839353,"url":"https://github.com/redislabs/redis-stream","last_synced_at":"2025-05-01T19:30:19.037Z","repository":{"id":40266315,"uuid":"233556456","full_name":"RedisLabs/redis-stream","owner":"RedisLabs","description":"Exposes Redis stream through the command line","archived":false,"fork":false,"pushed_at":"2022-06-28T08:39:43.000Z","size":104,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T17:01:38.769Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedisLabs.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":"2020-01-13T09:18:11.000Z","updated_at":"2022-06-25T19:48:42.000Z","dependencies_parsed_at":"2022-07-29T18:49:59.385Z","dependency_job_id":null,"html_url":"https://github.com/RedisLabs/redis-stream","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/RedisLabs%2Fredis-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fredis-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fredis-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fredis-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedisLabs","download_url":"https://codeload.github.com/RedisLabs/redis-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932513,"owners_count":21667157,"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-11-12T12:21:59.126Z","updated_at":"2025-05-01T19:30:18.611Z","avatar_url":"https://github.com/RedisLabs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-stream\nExposes [Redis stream](https://redis.io/topics/streams-intro) through the command line\n\n## Example\nSuppose we want to list all files containing both `'a'` and `'z'` characters\ne.g. azores.txt, arizona.md.\n\nUsing multiple `grep` processes.\n\nWe'll start by recursively scanning our file-system, filtering files containing `'a'` character using grep, these will be written into a redis stream `fs` for later parallel consumption:\n\n`ls -R | grep a | xargs -L1 | redis-stream -s fs`\n\nTo apply the second filter (files containing both `'a'` and `'z'` characters) we'll be pulling from the `fs` stream using multiple consumers, feeding our data once again into `grep`.\n\n```\nredis-stream -s fs | grep z\nredis-stream -s fs | grep z\nredis-stream -s fs | grep z\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredislabs%2Fredis-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredislabs%2Fredis-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredislabs%2Fredis-stream/lists"}