-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
![image](https://github.com/fsprojects/pulsar-client-dotnet/assets/3329606/a7dc577e-beed-4208-818e-fe799f058637) | ||
|
||
Architecturally pulsar-client-dotnet is a series of actors that send messages to each other. Each of them uses [Unbounded Channel](https://devblogs.microsoft.com/dotnet/an-introduction-to-system-threading-channels/) as a message queue and processes messages one by one in loop. | ||
Actors communicate with each other by sending messages between each other. Messages are modeled as [discriminated unions](https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/discriminated-unions) | ||
|
||
Connections to broker are reused (one connection per server) between producers and consumers. | ||
|
||
PulsarClient class serves as un umbrella class and stores reference to all other entities, i.e. consumers, producers, connection pool, lookup service and schema providers |