feat: consume workbench kafka events

This commit is contained in:
richjohnrambo
2026-09-24 16:56:33 +08:00
parent 7405277f27
commit 31a70c0bac
3 changed files with 167 additions and 0 deletions
+2
View File
@@ -26,6 +26,7 @@ const (
kafkaTopicGroupMessagePersist = "im.group.message.persist"
kafkaTopicMessagePush = "im.message.push"
kafkaTopicFileSecurity = "im.file.security"
kafkaTopicWorkbenchEvent = "im.workbench.event"
kafkaTopicCacheInvalidate = "im.cache.invalidate"
kafkaTopicAuditEvent = "im.audit.event"
kafkaTopicDeadLetter = "im.dead.letter"
@@ -214,6 +215,7 @@ func kafkaTopics(overrides map[string]string) map[string]string {
"group_message_persist": kafkaTopicGroupMessagePersist,
"message_push": kafkaTopicMessagePush,
"file_security": kafkaTopicFileSecurity,
"workbench_external": kafkaTopicWorkbenchEvent,
"cache_invalidate": kafkaTopicCacheInvalidate,
"audit_event": kafkaTopicAuditEvent,
"dead_letter": kafkaTopicDeadLetter,