{"id":37025970,"url":"https://github.com/nryanov/tarantool-queue","last_synced_at":"2026-01-14T03:01:03.449Z","repository":{"id":48797228,"uuid":"120194943","full_name":"nryanov/tarantool-queue","owner":"nryanov","description":"Wrapper for Tarantool queue ","archived":true,"fork":false,"pushed_at":"2021-07-11T20:03:27.000Z","size":44,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T22:34:42.842Z","etag":null,"topics":["code-generation","inmemory","java","queue","tarantool","wrapper","wrapper-library"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/nryanov.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":"2018-02-04T15:03:44.000Z","updated_at":"2023-01-28T07:23:45.000Z","dependencies_parsed_at":"2022-08-31T13:01:03.709Z","dependency_job_id":null,"html_url":"https://github.com/nryanov/tarantool-queue","commit_stats":null,"previous_names":["gr1f0n6x/tarantoolqueue"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nryanov/tarantool-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryanov%2Ftarantool-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryanov%2Ftarantool-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryanov%2Ftarantool-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryanov%2Ftarantool-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nryanov","download_url":"https://codeload.github.com/nryanov/tarantool-queue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryanov%2Ftarantool-queue/sbom","scorecard":{"id":58896,"data":{"date":"2025-08-04","repo":{"name":"github.com/nryanov/tarantool-queue","commit":"1cb7181892aa89082f0ad8564ed52f05e242876e"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":1.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-wf8f-6423-gfxg","Warn: Project is vulnerable to: GHSA-288c-cq4h-88gq","Warn: Project is vulnerable to: GHSA-3x8x-79m2-3w2w","Warn: Project is vulnerable to: GHSA-57j2-w4cx-62h2","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T01:17:36.633Z","repository_id":48797228,"created_at":"2025-08-15T01:17:36.633Z","updated_at":"2025-08-15T01:17:36.633Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["code-generation","inmemory","java","queue","tarantool","wrapper","wrapper-library"],"created_at":"2026-01-14T03:00:47.236Z","updated_at":"2026-01-14T03:01:02.778Z","avatar_url":"https://github.com/nryanov.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TarantoolQueue\n\n[![Build Status](https://img.shields.io/travis/nryanov/tarantool-queue/master.svg)](https://travis-ci.com/nryanov/tarantool-queue)\n[![GitHub license](https://img.shields.io/github/license/nryanov/tarantool-queue)](https://github.com/nryanov/tarantool-queue/blob/master/LICENSE.txt)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.nryanov.tarantool/tarantool-queue/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.nryanov.tarantool/tarantool-queue)\n\nIt is the wrapper for the [TarantoolQueue](https://github.com/tarantool/queue).\nThis library uses `Java annotation processing` to generate code for your tasks to be able to easy use your tasks with tarantool's queue.\n\n## Features\n- No reflection - only compile-time code generation \n- Supports different queue types: `FIFO`, `FIFO_TTL`, `LIM_FIFO_TTL` (queue module should be at least 1.0.4 version), `UTUBE` and `UTUBE_TTL`\n- All methods are strongly typed\n- For some queue types there are convenient methods with additional options\n\n## Requirements\n* Java 1.8 or higher\n* Tarantool 1.7.6\n\n## Getting Started\n\n### Add a dependency to your `pom.xml` file.\n\n```xml\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.nryanov.tarantool\u003c/groupId\u003e\n            \u003cartifactId\u003etarantool-queue\u003c/artifactId\u003e\n            \u003cversion\u003e{version}\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\n### Create a queue\nCurrently, `tarantool-queue` module does not support auto bootstraping queues in tarantool, so it is up to you to create initial queues with desired configuration.\nFor example, to create a simple fifo queue in tarantool:\n```shell script\nqueue = require('queue')\nqueue.create_tube('fifo_queue', 'fifo', {if_not_exists=true})\n``` \n\n\nAlso, keep i mind that it is required to use exactly this name for `queue` module in tarantool: `queue = require('queue')`\n\n### Create a simple POJO which represents task info:\n```java\nimport org.tarantool.queue.QueueType;\nimport org.tarantool.queue.annotations.Queue;\n\n@Queue(name = \"fifo_queue\", type = QueueType.FIFO)\nclass Task {\n // fields\n}\n```\n\n`Queue` annotation will be used only in compile time to generate convenient wrapper for your task.  \n\nQueueType can be `FIFO`, `FIFO_TTL`, `UTUBE`, `UTUBE_TTL`. The description of each type can be found there: [TarantoolQueue](https://github.com/tarantool/queue).\nIf your tarantool instance has installed `queue` module with version `1.0.4` or higher than you can also use `LIM_FIFO_TTL` queue type.\n\n### Use\n```java\npublic class Main {\n    public static void main(String[] args) {    \n        TarantoolClientConfig config = new TarantoolClientConfig();\n        config.username = \"guest\";\n        TarantoolClient client = new TarantoolClientImpl(\"localhost:3301\", config);\n        \n        // also, you can specify custom ObjectMapper \n        TaskManagerFactory managerFactory = new TaskManagerFactory(client);\n        TaskQueue taskQueue = managerFactory.taskQueueManager();\n        \n        Task task = new Task();\n        TaskInfo\u003cTask\u003e result = queue.put(task).runSync();\n        // ...\n        TaskInfo\u003cTask\u003e nextTask = queue.take().runSync();\n        // process(nextTask)\n        queue.ack(nextTask.id).runSync();\n    }\n}\n```\n\n## Queue interface\n```java\npublic interface QueueManager\u003cT\u003e {\n    Operation\u003cT\u003e put(T task);\n\n    Operation\u003cT\u003e release(long taskId);\n\n    Operation\u003cT\u003e ack(long taskId);\n\n    Operation\u003cT\u003e peek(long taskId);\n\n    Operation\u003cT\u003e bury(long taskId);\n\n    Operation\u003cT\u003e take();\n\n    Operation\u003cT\u003e takeWithTimeout(long timeout);\n\n    Operation\u003cT\u003e delete(long taskId);\n}\n```\n\nQueues with types `FIFO_TTL` and `UTUBE_TTL` support additional method: `touch` to increase ttl of task. \n\nQueues with types `FIFO_TTL`, `UTUBE`, `UTUBE_TTL` and `LIM_FIFO_TTL` support additional methods: `putWithOptions` and `releaseWithOptions`. Each queue type has it's own builder with specific option list.\n\n## Built With\n* [Maven](https://maven.apache.org/) - Dependency Management","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnryanov%2Ftarantool-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnryanov%2Ftarantool-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnryanov%2Ftarantool-queue/lists"}