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.

973 B
Raw Blame
//! The broker topics the webhook system subscribes to.
//!
//! One declaration shared by both consumption paths — the durable ingestion
//! consumer (`inbound::kafka_consumer`) and the process-level SSE consumer
//! (`inbound::kafka_stream_consumer`) — so the two can never drift onto
//! different topic sets.

use crate::domain::events::WebhookMacroEvent;
use agent_session::domain::events::AgentSessionLifecycleMacroEvent;
use agent_trigger::domain::broker_events::AgentSessionMacroEvent;
use call::domain::notification_events::CallNotificationMacroEvent;
use channels::domain::broker_events::ChannelMacroEvent;
use documents::domain::events::DocumentMacroEvent;
use messages::outbound::broker::MessageMacroEvent;

macro_event_broker::declare_topics!(
    DeclaredMacroEvent: DocumentMacroEvent,
    ChannelMacroEvent,
    CallNotificationMacroEvent,
    MessageMacroEvent,
    WebhookMacroEvent,
    AgentSessionMacroEvent,
    AgentSessionLifecycleMacroEvent,
);