Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(kafka): add macro.messages topic (#6421)

gbirmanf031357c1158
diff --git a/.github/kafka-cluster-topics.json b/.github/kafka-cluster-topics.json
index d03fd7eef4..33e3f3f489 100644
--- a/.github/kafka-cluster-topics.json
+++ b/.github/kafka-cluster-topics.json
@@ -10,6 +10,7 @@
"macro.email",
"macro.example",
"macro.mentions",
+ "macro.messages",
"macro.notifications",
"macro.projects",
"macro.properties",
diff --git a/crates/macro_event_topics/src/lib.rs b/crates/macro_event_topics/src/lib.rs
index 2935f76a94..12f939582b 100644
--- a/crates/macro_event_topics/src/lib.rs
+++ b/crates/macro_event_topics/src/lib.rs
@@ -63,6 +63,8 @@ topics! {
MacroTeamsTopic => "macro.teams",
/// Channel lifecycle, message, participant, and attachment events.
MacroChannelsTopic => "macro.channels",
+ /// Shared channel and document message events.
+ MacroMessagesTopic => "macro.messages",
/// Signals telling the agent harness to open or feed an agent session.
MacroAgentSessionsTopic => "macro.agent_sessions",
/// Email lifecycle events (links, messages, threads, labels).
diff --git a/crates/macro_event_topics/src/test.rs b/crates/macro_event_topics/src/test.rs
index 6010067560..1047efef29 100644
--- a/crates/macro_event_topics/src/test.rs
+++ b/crates/macro_event_topics/src/test.rs
@@ -24,6 +24,7 @@ fn all_topic_names_includes_declared_topics() {
assert!(all_topic_names().contains(&MacroPropertiesTopic::TOPIC_STR));
assert!(all_topic_names().contains(&MacroTeamsTopic::TOPIC_STR));
assert!(all_topic_names().contains(&MacroChannelsTopic::TOPIC_STR));
+ assert!(all_topic_names().contains(&MacroMessagesTopic::TOPIC_STR));
assert!(all_topic_names().contains(&MacroBotsTopic::TOPIC_STR));
assert!(all_topic_names().contains(&MacroCallsTopic::TOPIC_STR));
assert!(all_topic_names().contains(&MacroWebhooksTopic::TOPIC_STR));