# kiarashminoo/thunderpropagator.feeviders architecture

> Architecture diagram of the GitHub repository kiarashminoo/thunderpropagator.feeviders, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kiarashminoo/thunderpropagator.feeviders
- Repository: https://github.com/kiarashminoo/thunderpropagator.feeviders

## Overview

ThunderPropagator.Feeviders is a .NET integration layer that moves messages between application channels and external brokers or network protocols. Its principal workflow is inbound delivery through a feeder to application handling, and outbound serialization through a provider to a destination; the README describes the overall connectivity and bidirectional scope, while sampled code confirms Azure Service Bus and UDP details. Inbox deduplication and the opt-in Outbox relay add durable processing, retry, and dead-letter paths. Several protocol implementations and storage adapters are represented by their exact directories because their source was not sampled; their individual wiring is therefore not asserted.

Main entry points: [`Feeviders`](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders) (Outbound providers), [`Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox`](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox) (Inbox processing), [`Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs`](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs) (Outbox relay), [`Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs`](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs) (Service Bus feeder)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_integration["Protocol adapters"]
  node_feeders["Inbound feeders"]
  node_providers["Outbound providers"]
  node_sbfeeder["Service Bus feeder"]
  node_sbprovider["Service Bus provider"]
  node_sbpropagation["Trace propagation"]
  node_udpfeeder["UDP feeder<br/>[UdpClientFeeder.cs]"]
  node_udpprovider["UDP provider"]
end

subgraph group_common["Provider foundation"]
  node_abstractprovider["Provider base"]
  node_serializer["Message serializer"]
end

subgraph group_inbox["Inbox processing"]
  node_inboxreceive["Inbox receive"]
  node_inboxcore["Inbox processing"]
  node_inboxstores[("Inbox stores")]
  node_inboxdead["Inbox dead-letter"]
end

subgraph group_outbox["Outbox delivery"]
  node_outboxenqueue["Outbox enqueue"]
  node_outboxstores[("Outbox stores")]
  node_relay["Outbox relay"]
  node_outboxdead["Outbox dead-letter"]
end

node_application(("Application"))
node_brokers["Message brokers"]
node_network(("Network endpoints"))

node_brokers -.->|"deliver messages"| node_feeders
node_feeders -.->|"forward messages"| node_application
node_application -.->|"publish messages"| node_providers
node_providers -.->|"send messages"| node_brokers
node_network -.->|"send traffic"| node_feeders
node_providers -.->|"send traffic"| node_network
node_sbfeeder -->|"yield messages"| node_application
node_sbfeeder -->|"extract context"| node_sbpropagation
node_sbprovider -->|"inject context"| node_sbpropagation
node_sbprovider -->|"send messages"| node_brokers
node_udpfeeder -->|"coordinate receive"| node_inboxreceive
node_udpfeeder -->|"resolve inbox store"| node_inboxcore
node_udpprovider -->|"send datagrams"| node_network
node_providers -.->|"share base behavior"| node_abstractprovider
node_abstractprovider -.->|"serialize payloads"| node_serializer
node_inboxreceive -.->|"coordinate handling"| node_inboxcore
node_inboxcore -.->|"persist messages"| node_inboxstores
node_inboxcore -.->|"run handlers"| node_inboxdead
node_outboxenqueue -.->|"persist messages"| node_outboxstores
node_relay -->|"claim messages"| node_outboxstores
node_relay -.->|"relay messages"| node_providers
node_relay -.->|"run handlers"| node_outboxdead

click node_feeders "https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders"
click node_providers "https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders"
click node_sbfeeder "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs"
click node_sbprovider "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Providers.DotNet.AzureServiceBus/ServiceBusProvider.cs"
click node_sbpropagation "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Feeviders.AzureServiceBus.SharedKernel/ServiceBusMessagePropagation.cs"
click node_udpfeeder "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/UdpClient/ThunderPropagator.Feeders.UdpClient/UdpClientFeeder.cs"
click node_udpprovider "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/UdpClient/ThunderPropagator.Providers.DotNet.UdpClient/UdpClientProvider.cs"
click node_abstractprovider "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/AbstractProvider.cs"
click node_serializer "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/IFeederMessageSerializer.cs"
click node_inboxreceive "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Feeders.SharedKernel/InboxReceiveCoordinator.cs"
click node_inboxcore "https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox"
click node_inboxstores "https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox.MongoDB"
click node_inboxdead "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox/InboxDeadLetterPipeline.cs"
click node_outboxenqueue "https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox"
click node_outboxstores "https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox.MongoDB"
click node_relay "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs"
click node_outboxdead "https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox/OutboxDeadLetterPipeline.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_feeders,node_providers,node_sbfeeder,node_sbprovider,node_sbpropagation,node_udpfeeder,node_udpprovider toneBlue
class node_abstractprovider,node_serializer toneAmber
class node_inboxreceive,node_inboxcore,node_inboxstores,node_inboxdead toneMint
class node_outboxenqueue,node_outboxstores,node_relay,node_outboxdead toneRose
class node_application,node_brokers,node_network toneIndigo
```

## Components

### Protocol adapters

- [Inbound feeders](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders): `Feeviders`
- [Outbound providers](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders): `Feeviders`
- [Service Bus feeder](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs): `Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs`
- [Service Bus provider](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Providers.DotNet.AzureServiceBus/ServiceBusProvider.cs): `Feeviders/AzureServiceBus/ThunderPropagator.Providers.DotNet.AzureServiceBus/ServiceBusProvider.cs`
- [Trace propagation](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/AzureServiceBus/ThunderPropagator.Feeviders.AzureServiceBus.SharedKernel/ServiceBusMessagePropagation.cs): `Feeviders/AzureServiceBus/ThunderPropagator.Feeviders.AzureServiceBus.SharedKernel/ServiceBusMessagePropagation.cs`
- [UDP feeder](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/UdpClient/ThunderPropagator.Feeders.UdpClient/UdpClientFeeder.cs): `Feeviders/UdpClient/ThunderPropagator.Feeders.UdpClient/UdpClientFeeder.cs`
- [UDP provider](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/UdpClient/ThunderPropagator.Providers.DotNet.UdpClient/UdpClientProvider.cs): `Feeviders/UdpClient/ThunderPropagator.Providers.DotNet.UdpClient/UdpClientProvider.cs`

### Provider foundation

- [Provider base](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/AbstractProvider.cs): `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/AbstractProvider.cs`
- [Message serializer](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/IFeederMessageSerializer.cs): `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/IFeederMessageSerializer.cs`

### Inbox processing

- [Inbox receive](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Feeders.SharedKernel/InboxReceiveCoordinator.cs): `Feeviders/SharedKernel/ThunderPropagator.Feeders.SharedKernel/InboxReceiveCoordinator.cs`
- [Inbox processing](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox): `Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox`
- [Inbox stores](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox.MongoDB): `Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox.MongoDB`
- [Inbox dead-letter](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox/InboxDeadLetterPipeline.cs): `Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox/InboxDeadLetterPipeline.cs`

### Outbox delivery

- [Outbox enqueue](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox): `Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox`
- [Outbox stores](https://github.com/kiarashminoo/thunderpropagator.feeviders/tree/develop/Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox.MongoDB): `Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox.MongoDB`
- [Outbox relay](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs): `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs`
- [Outbox dead-letter](https://github.com/kiarashminoo/thunderpropagator.feeviders/blob/develop/Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox/OutboxDeadLetterPipeline.cs): `Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox/OutboxDeadLetterPipeline.cs`

### Other components

- **Application**
- **Message brokers**
- **Network endpoints**

## Connections

- Message brokers → Inbound feeders: deliver messages
- Inbound feeders → Application: forward messages
- Application → Outbound providers: publish messages
- Outbound providers → Message brokers: send messages
- Network endpoints → Inbound feeders: send traffic
- Outbound providers → Network endpoints: send traffic
- Service Bus feeder → Application: yield messages (evidence: `Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs`)
- Service Bus feeder → Trace propagation: extract context (evidence: `Feeviders/AzureServiceBus/ThunderPropagator.Feeders.AzureServiceBus/ServiceBusFeeder.cs`)
- Service Bus provider → Trace propagation: inject context (evidence: `Feeviders/AzureServiceBus/ThunderPropagator.Providers.DotNet.AzureServiceBus/ServiceBusProvider.cs`)
- Service Bus provider → Message brokers: send messages (evidence: `Feeviders/AzureServiceBus/ThunderPropagator.Providers.DotNet.AzureServiceBus/ServiceBusProvider.cs`)
- UDP feeder → Inbox receive: coordinate receive (evidence: `Feeviders/UdpClient/ThunderPropagator.Feeders.UdpClient/UdpClientFeeder.cs`)
- UDP feeder → Inbox processing: resolve inbox store (evidence: `Feeviders/UdpClient/ThunderPropagator.Feeders.UdpClient/UdpClientFeeder.cs`)
- UDP provider → Network endpoints: send datagrams (evidence: `Feeviders/UdpClient/ThunderPropagator.Providers.DotNet.UdpClient/UdpClientProvider.cs`)
- Outbound providers → Provider base: share base behavior (evidence: `Feeviders/AzureServiceBus/ThunderPropagator.Providers.DotNet.AzureServiceBus/ServiceBusProvider.cs`)
- Provider base → Message serializer: serialize payloads (evidence: `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/AbstractProvider.cs`)
- Inbox receive → Inbox processing: coordinate handling
- Inbox processing → Inbox stores: persist messages (evidence: `Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox.MongoDB/MongoInboxStoreServiceCollectionExtensions.cs`)
- Inbox processing → Inbox dead-letter: run handlers (evidence: `Feeviders/InboxOutbox/ThunderPropagator.Feeders.Inbox/InboxDeadLetterPipeline.cs`)
- Outbox enqueue → Outbox stores: persist messages (evidence: `Feeviders/InboxOutbox/ThunderPropagator.Providers.DotNet.Outbox.MongoDB/MongoOutboxStoreServiceCollectionExtensions.cs`)
- Outbox relay → Outbox stores: claim messages (evidence: `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs`)
- Outbox relay → Outbound providers: relay messages (evidence: `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs`)
- Outbox relay → Outbox dead-letter: run handlers (evidence: `Feeviders/SharedKernel/ThunderPropagator.Providers.DotNet.SharedKernel/OutboxRelayWorker.cs`)
