{"id":29048702,"url":"https://github.com/imqueue/redis-broker-unicaster","last_synced_at":"2025-06-26T18:11:38.150Z","repository":{"id":301395803,"uuid":"1009010738","full_name":"imqueue/redis-broker-unicaster","owner":"imqueue","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-26T16:46:35.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T17:21:29.721Z","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/imqueue.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,"zenodo":null}},"created_at":"2025-06-26T12:42:33.000Z","updated_at":"2025-06-26T16:46:38.000Z","dependencies_parsed_at":"2025-06-26T17:33:54.818Z","dependency_job_id":null,"html_url":"https://github.com/imqueue/redis-broker-unicaster","commit_stats":null,"previous_names":["imqueue/redis-broker-unicaster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imqueue/redis-broker-unicaster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fredis-broker-unicaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fredis-broker-unicaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fredis-broker-unicaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fredis-broker-unicaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imqueue","download_url":"https://codeload.github.com/imqueue/redis-broker-unicaster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imqueue%2Fredis-broker-unicaster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262119782,"owners_count":23261910,"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":"2025-06-26T18:11:36.230Z","updated_at":"2025-06-26T18:11:38.136Z","avatar_url":"https://github.com/imqueue.png","language":"C","readme":"# Unicaster\n\nUDP Unicasting Server Node Using a Custom Unicaster Module with Redis\n\nThe module retrieves the list of Kubernetes pods to get their IP addresses for sending unicast messages.\nIt is intended to run inside a pod that has access to the Kubernetes service account credentials located at\n`/var/run/secrets/kubernetes.io/serviceaccount`. The service account must also be bound to an RBAC role with the\nnecessary permissions to list pods.\n\n## Build\n\nTo build a module use:\n\n```bash\nmake\n```\n\nto clean:\n\n```bash\nmake clean\n```\n\nSee all available targets in Makefile (install/uninstall/reload/run etc.).\n\n## Usage\n\nEnvironment variables available:\n\n- REDIS_BROADCAST_NAME (default is \"imq-broker\")\n- REDIS_BROADCAST_PORT (default is 63000)\n- REDIS_BROADCAST_INTERVAL (in seconds, default is 1 second)\n\nEither configure through redis.conf or by launching the server with `--loadmodule` option, like:\n\n```bash\nredis-server --loadmodule /path/to/unicaster.so\n```\n\nIf you need to log messages and errors from module, enable by:\n\n```bash\nredis-server --loadmodule /path/to/unicaster.so --loglevel verbose\n```\n\nMessage format on redis running is:\n\n```aiignore\n[REDIS_BROADCAST_NAME]  [REDIS_GUID]    [STATUS]    [REDIS_INTERFACE_HOST]:[REDIS_PORT]   \u003cREDIS_BROADCAST_INTERVAL\u003e\n```\n\nWhere STATUS could be one of \"up\" or \"down\", and REDIS_BROADCAST_INTERVAL only present if STATUS is \"up\", e.g:\n\n```aiignore\nimq-broker      2cc7c345-3569-44bb-b57a-b72d729d7012    up      127.0.0.1:6380  1\nimq-broker      2cc7c345-3569-44bb-b57a-b72d729d7012    up      127.0.0.1:6380  1\nimq-broker      2cc7c345-3569-44bb-b57a-b72d729d7012    down    127.0.0.1:6380\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimqueue%2Fredis-broker-unicaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimqueue%2Fredis-broker-unicaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimqueue%2Fredis-broker-unicaster/lists"}