Files
Web_BLS_Heartbeat_Server/package.json
XuJiacheng 910f1c353f feat: 实现Redis集成与Kafka消息处理优化
- 新增Redis集成模块,支持心跳写入与控制台日志队列
- 优化Kafka消费者实现,支持多实例与自动重连
- 改进消息处理器,支持批量处理与多层解码
- 更新数据库表结构,调整字段类型与约束
- 添加Redis与Kafka的配置项和环境变量支持
- 补充测试用例和文档说明
2026-01-14 17:58:45 +08:00

37 lines
820 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "web-bls-heartbeat-server",
"version": "1.0.0",
"description": "BLS心跳接收端用于处理Kafka队列数据并写入PostgreSQL数据库",
"type": "module",
"main": "dist/index.js",
"scripts": {
"dev": "vite",
"start": "node src/index.js",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .js",
"test": "mocha",
"db:apply": "node scripts/db/apply.js",
"kafka:decode": "node scripts/kafka/decodeMessage.js"
},
"dependencies": {
"kafka-node": "^5.0.0",
"pg": "^8.11.3",
"redis": "^4.7.1"
},
"devDependencies": {
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"vite": "^5.0.0"
},
"keywords": [
"BLS",
"heartbeat",
"kafka",
"postgresql",
"nodejs"
],
"author": "",
"license": "MIT"
}