{"id":18647631,"url":"https://github.com/artcom/retained-message-query-plugin-test","last_synced_at":"2026-01-31T21:41:34.763Z","repository":{"id":210678382,"uuid":"727152516","full_name":"artcom/retained-message-query-plugin-test","owner":"artcom","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-06T13:19:35.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-25T13:02:50.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artcom.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-04T09:42:38.000Z","updated_at":"2023-12-04T09:44:14.000Z","dependencies_parsed_at":"2024-11-07T06:28:41.107Z","dependency_job_id":"c9ce921d-ec20-49b2-a740-3845606d860e","html_url":"https://github.com/artcom/retained-message-query-plugin-test","commit_stats":null,"previous_names":["artcom/retained-message-query-plugin-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artcom/retained-message-query-plugin-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fretained-message-query-plugin-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fretained-message-query-plugin-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fretained-message-query-plugin-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fretained-message-query-plugin-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artcom","download_url":"https://codeload.github.com/artcom/retained-message-query-plugin-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fretained-message-query-plugin-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28956767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-07T06:27:14.669Z","updated_at":"2026-01-31T21:41:34.749Z","avatar_url":"https://github.com/artcom.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retained Message Query Plugin Test\n\nDocker compose file for testing the Retained Message Query Plugin with HiveMQ CE and HiveMQ Enterprise.\n\n## Usage\n\n### HiveMQ Community Edition\n\n```bash\ndocker-compose -f docker-compose-ce.yml up\n```\n\n### HiveMQ Enterprise Edition\n\n```bash\ndocker-compose -f docker-compose-ee.yml up\n```\n\n### All\n\n- check plugin\n  ```bash\n  curl --header \"Content-Type: application/json\" \\\n  --request POST \\\n  --data '{\"topic\":\"topic\",\"depth\":2}' \\\n  http://localhost:8080/query\n  ```\n- send a message to the broker through the docker network\n  ```bash\n  curl --header \"Content-Type: application/json\" \\\n  --request POST \\\n  --data '{\"number\":1}' \\\n  http://localhost:3000/publish\n  ```\n- check plugin\n  ```bash\n  curl --header \"Content-Type: application/json\" \\\n  --request POST \\\n  --data '{\"topic\":\"topic\",\"depth\":2}' \\\n  http://localhost:8080/query\n  ```\n\n## Retained Message Generator API\n\n### Publish a message\n\n- Endpoint: `POST /publish`\n- Body:\n  ```json\n  {\n    \"number\": \"number of messages to publish, required (Integer)\",\n    \"qos\": \"quality of service, optional, default=2 (Integer)\",\n    \"retain\": \"retain flag, optional, default=true (Boolean)\"\n  }\n  ```\n\n## Logs\n\nThe retained message query plugin logs all retained messages received when `HIVEMQ_LOG_LEVEL=DEBUG` is set.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartcom%2Fretained-message-query-plugin-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartcom%2Fretained-message-query-plugin-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartcom%2Fretained-message-query-plugin-test/lists"}