CAP is a .NET distributed transaction framework and event bus designed to manage asynchronous communication in microservices. It implements the outbox pattern to ensure eventual consistency and reliable message delivery by persisting messages in local database tables until transactions commit.
The framework includes a distributed message monitor and web dashboard for tracking the status of sent and received messages. It provides tools for event traffic visualization, distributed request tracing, and the ability to manually trigger retries for failed delivery attempts.
The system supports various messaging patterns, including topic-based routing, delayed message processing, and competing consumer models for load balancing. Reliability is managed through automatic retry mechanisms, backpressure flow control to prevent memory exhaustion, and configurable processing modes for either parallel throughput or sequential execution.