{"id":18888070,"url":"https://github.com/codex-team/hawk.registry","last_synced_at":"2026-02-12T18:33:05.812Z","repository":{"id":46597958,"uuid":"168109267","full_name":"codex-team/hawk.registry","owner":"codex-team","description":"Registry for handling workers","archived":false,"fork":false,"pushed_at":"2026-01-31T00:16:01.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-31T15:53:14.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/codex-team.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}},"created_at":"2019-01-29T07:23:43.000Z","updated_at":"2026-01-31T00:16:05.000Z","dependencies_parsed_at":"2022-09-03T01:11:48.312Z","dependency_job_id":null,"html_url":"https://github.com/codex-team/hawk.registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codex-team/hawk.registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Fhawk.registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Fhawk.registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Fhawk.registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Fhawk.registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codex-team","download_url":"https://codeload.github.com/codex-team/hawk.registry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Fhawk.registry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29376916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T18:17:34.915Z","status":"ssl_error","status_checked_at":"2026-02-12T18:17:34.495Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-08T07:42:00.510Z","updated_at":"2026-02-12T18:33:05.794Z","avatar_url":"https://github.com/codex-team.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hawk registry\n\nRegistry is based on RabbitMQ for messaging protocol\n\n## Hawk specifics\n\nWe have **durable exchange** `errors` from where each individual queues gets messages. e.g. nodejs errors goes to `errors/nodejs` queue via the same-named routing key\n\nFor handling invalid messages we have dead-letter exchange `stash`. `stash` policy is defined which is applicable to all queues matching `errors/*`. It sets dead-letter exchange to `stash`.\n\n\u003e Remember to create `stash/\u003clanguage_name\u003e` queues similarly to `errors/\u003clanguage_name\u003e` and make binds in `stash` exchange:\n\u003e\n\u003e ```\n\u003e Destination: `stash/\u003clanguage_name\u003e`\n\u003e Routing key: `errors/\u003clanguage_name\u003e`\n\u003e ```\n\n| Queue                   | Description                                        |\n| ----------------------- | -------------------------------------------------- |\n| `errors/\u003clanguae_name\u003e` | Queues for errors                                  |\n| `stash/\u003clanguage_name\u003e` | Queues for invalid errors                          |\n| `log`                   | Queue for logging worker (notify to telegram, etc) |\n\n| Exchange | Description                                                                             |\n| -------- | --------------------------------------------------------------------------------------- |\n| `errors` | Main exchange for errors, routes to `errors/\u003clanguage_name\u003e` via same-named routing key |\n| `stash`  | Dead-letter exchange for invalid errors of `errors/*` queues                            |\n\n## Getting started\n\n## Docker way\n\n`docker-compose up` or `bin/docker_start.sh` if you don't have docker-compose\n\n## Without docker\n\n- Install RabbitMQ\n- Enable management plugin (`rabbitmq-plugins enable rabbitmq_management`)\n- Edit your configuration file (default in Linux `/etc/rabbitmq/rabbitmq.conf`)\n\n  ```\n  management.load_definitions = /path/to/definitions/rabbit.definitions.json\n  ```\n\n  OR\n\n  Import once using `rabbitmqadmin`\n\n  ```bash\n  rabbitmqadmin -q import config/rabbit.definitions.json\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Fhawk.registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodex-team%2Fhawk.registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Fhawk.registry/lists"}