Skip to content

.1602452971339523:4beef0f4c9e139b1f19d75d9654294c0_69eda26c5c84888b671671ca.69eda3b65c84888b6716724c.69eda3b6d55b86767f56e605:Trae CN.T(2026/4/26 13:33:42)#49

Open
666yuhan666 wants to merge 1 commit into
Litlyx:mainfrom
666yuhan666:round-1-fix-event-dedup

Conversation

@666yuhan666

Copy link
Copy Markdown
  • 在 RedisStreamService 中添加事件指纹生成和去重检查方法
  • 为 event、visit、keep_alive 三种事件类型生成唯一指纹
  • 使用 Redis 缓存已处理的事件指纹,设置 24 小时过期时间
  • 在 Consumer 的 processStreamEntry 中添加去重检查
  • 重复事件会被跳过并记录日志,不影响现有上报协议

- 在 RedisStreamService 中添加事件指纹生成和去重检查方法
- 为 event、visit、keep_alive 三种事件类型生成唯一指纹
- 使用 Redis 缓存已处理的事件指纹,设置 24 小时过期时间
- 在 Consumer 的 processStreamEntry 中添加去重检查
- 重复事件会被跳过并记录日志,不影响现有上报协议
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant