{"id":21102705,"url":"https://github.com/guoshiqiufeng/loki","last_synced_at":"2026-03-06T05:51:05.459Z","repository":{"id":208771029,"uuid":"722451969","full_name":"guoshiqiufeng/loki","owner":"guoshiqiufeng","description":"Simplifying mq usage","archived":false,"fork":false,"pushed_at":"2024-06-25T06:33:21.000Z","size":632,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-25T08:19:10.362Z","etag":null,"topics":["kafka","kafka-client","kafka-clients","loki","mq","redis","rocketmq","rocketmq-client","rocketmq5","springboot2","springboot3"],"latest_commit_sha":null,"homepage":"https://guoshiqiufeng.github.io/loki-doc/","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/guoshiqiufeng.png","metadata":{"files":{"readme":"README-zh.md","changelog":"CHANGELOG.md","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-11-23T07:17:51.000Z","updated_at":"2024-06-25T06:33:11.000Z","dependencies_parsed_at":"2024-02-18T03:24:29.855Z","dependency_job_id":"80a7efa1-4151-4830-9fc9-52dffa8efe66","html_url":"https://github.com/guoshiqiufeng/loki","commit_stats":null,"previous_names":["guoshiqiufeng/loki"],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoshiqiufeng%2Floki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoshiqiufeng%2Floki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoshiqiufeng%2Floki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guoshiqiufeng%2Floki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guoshiqiufeng","download_url":"https://codeload.github.com/guoshiqiufeng/loki/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225444614,"owners_count":17475354,"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":["kafka","kafka-client","kafka-clients","loki","mq","redis","rocketmq","rocketmq-client","rocketmq5","springboot2","springboot3"],"created_at":"2024-11-19T23:56:14.314Z","updated_at":"2026-03-06T05:51:05.391Z","avatar_url":"https://github.com/guoshiqiufeng.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LOKI\n\n[![Maven central](https://img.shields.io/maven-central/v/io.github.guoshiqiufeng/loki.svg?style=flat-square)](https://search.maven.org/search?q=g:io.github.guoshiqiufeng%20AND%20a:loki)\n[![License](https://img.shields.io/:license-apache-brightgreen.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)\n[![CodeQL](https://github.com/guoshiqiufeng/loki/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/guoshiqiufeng/loki/actions/workflows/github-code-scanning/codeql)\n[![Commit-Activity](https://img.shields.io/github/commit-activity/m/guoshiqiufeng/loki)](https://github.com/guoshiqiufeng/loki/graphs/commit-activity)\n\n阅读其他语言版本: [English](README.md)\n\n### 介绍\n\n统一的消息发送、消费框架，简化mq使用。提供统一的消息发送、消费接口，支持多种mq实现，目前支持rocketmq 4.x 以上、Kafka 2.x\n以上、Redis 5.X\n以上\n\n### 文档\n\nhttps://guoshiqiufeng.github.io/loki-doc/\n\n### 开发框架\n\n- Java 21\n- Gradle 8.8\n- Spring Boot 2.7.18\n- rocketmq-client 5.2.0\n- rocketmq-client-java 5.0.7 (RocketMQ-grpc)\n- kafka-clients 3.7.0\n- jedis 5.1.3\n- spring-data-redis (可选)\n\n### 功能\n\n* 可用 - ✅\n* 进行中 - 🚧\n\n| 功能                                             | Rocketmq-gRPC | Rocketmq-Remoting | Kafka | Redis |   \n|------------------------------------------------|:-------------:|:-----------------:|-------|-------| \n| 【BaseMapper】Send standard messages             |       ✅       |         ✅         | ✅     | ✅     |    \n| 【BaseMapper】Send async messages                |       ✅       |         ✅         | ✅     | ✅     |    \n| 【BaseMapper】Send timed/delay messages          |       ✅       |         ✅         | 🚧    | ✅     |    \n| 【LokiClient】Send standard messages             |       ✅       |         ✅         | ✅     | ✅     |    \n| 【LokiClient】Send async messages                |       ✅       |         ✅         | ✅     | ✅     |    \n| 【LokiClient】Send timed/delay messages          |       ✅       |         ✅         | 🚧    | ✅     |    \n| Producer with transactional messages           |      🚧       |        🚧         | 🚧    | 🚧    |\n| 【Topic】 consumer with message listener         |       ✅       |         ✅         | ✅     | ✅     |    \n| 【Topic-Pattern】 consumer with message listener |      🚧       |        🚧         | ✅     | ✅     |    \n\n注：\n\n- Rocketmq-Remoting `Send timed/delay messages` 仅支持 `rocketmq 5.0` 以上版本\n- Redis `Send timed/delay messages` 需要 redis 开启 `notify-keyspace-events Ex` 通知\n\n### 使用\n\n\u003e 可参考 [loki-test](https://github.com/guoshiqiufeng/loki-test)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguoshiqiufeng%2Floki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguoshiqiufeng%2Floki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguoshiqiufeng%2Floki/lists"}