EventPump 2026.9.27
dotnet add package EventPump --version 2026.9.27
NuGet\Install-Package EventPump -Version 2026.9.27
<PackageReference Include="EventPump" Version="2026.9.27" />
<PackageVersion Include="EventPump" Version="2026.9.27" />
<PackageReference Include="EventPump" />
paket add EventPump --version 2026.9.27
#r "nuget: EventPump, 2026.9.27"
#:package EventPump@2026.9.27
#addin nuget:?package=EventPump&version=2026.9.27
#tool nuget:?package=EventPump&version=2026.9.27
EventPump prototype (.NET 10)
EventPump uses the same Publish and Subscribe API in two contexts. LocalPump delivers within one process; GlobalPumpClient connects to a separate GlobalPump service process. Each context has independent subscriptions. A process may create several instances and connect to more than one service.
An event carries a name and optional JSON payload. For example, NewSection may carry StrandId and SectionId so subscribers can look up further details. Names and subscription regular expressions are case-insensitive.
Read the website, architecture and usage guide, and Python service examples. GitHub Pages can serve the website from main / docs.
Build
dotnet build EventPump.sln
Run the samples
In one terminal, start the long-running global service:
dotnet run --project examples/SampleEventPump
In another terminal, start one or more clients. Press Enter in any client to publish a new section and q to quit:
dotnet run --project examples/SampleClient
For synchronous, in-process transitions with two subscribers and no service:
dotnet run --project examples/SampleLocalPumpAndClients
The original configurable service can still run with dotnet run --project source/EventPump.Service -- eventpump.json. EventPump.Demo uses eventpump-client.json to connect to that service.
Subscriber registration and LiveUi
Every GlobalPumpClient reports its complete subscription patterns to the GlobalPump control endpoint (default port 51252). It refreshes them every five seconds and unregisters on clean shutdown. GlobalPump.Subscribers.GetRegistrations() returns client IDs, process names, patterns, last heartbeat UTC and active status. Publishers can call GlobalPumpClient.GetSubscribers() to inspect the same service list; SampleClient displays it when you type l. A heartbeat within the last 15 seconds counts as active. A crashed client remains listed as inactive; registration indicates recent contact, not receipt of a particular event. Python subscribers also use this protocol.
For the optional LiveUi integration, check out batpox/LiveUI beside this repository. Run dotnet run --project examples/SampleEventPump.LiveUi instead of SampleEventPump. It registers two actual LiveUi targets: GlobalPump endpoints/counters and the SubscriberRegistry client list with heartbeat ages. This adapter is separate from the core solution because LiveUI currently lives in its own private repository and is not a declared package dependency. Its target values are monitoring-only.
Delivery model and limits
Local handlers execute synchronously on the publishing thread. A client subscribed through GlobalPumpClient, even in the publishing process, receives the event only after a round trip through GlobalPump. Global events are journaled before acknowledgment, but broadcasts are best effort: startup, disconnects, and slow consumers may lose messages. The journal has no replay or retention policy. Timed-out publishes have an unknown outcome and retries can duplicate events. There is no authentication, discovery, or failover. Registrations are observational; they do not guarantee broadcast delivery. Avoid critical control events until these are addressed.
Diagnostics expose published/received/error counts, configurable logging and Log/Error events. LiveUiEnabled on service settings is reserved for future integration.
Repository layout
| Path | Purpose |
|---|---|
source/EventPump |
Local and global pump library |
source/EventPump.Service |
Configurable standalone service |
examples/ |
.NET and Python runnable examples |
integrations/EventPump.LiveUi |
Optional LiveUi adapter; requires a sibling LiveUI checkout |
tests/EventPump.Smoke |
Standalone smoke checks |
docs/ |
GitHub Pages website and usage guide |
eventpump.json, eventpump-client.json |
Example service and client settings |
The standard library and service build through EventPump.sln; the optional LiveUi adapter is outside that solution because it references a separate repository. Source projects live under source/.
License
EventPump is licensed under the Apache License 2.0. The library project declares Apache-2.0 for NuGet packages.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- NetMQ (>= 4.0.4.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.9.27 | 155 | 9/28/2026 |