seqeron 0.18.0
Loading...
Searching...
No Matches
seqeron C# client

The client tier of seqeron: the Org.Limitless.Seqeron package, on Aeron.NET. It speaks the same wire protocol as the Java client, org.limitless:seqeron, and its namespaces are that jar's packages in PascalCase.

Start here

To Take
Run one instance of an elected active/standby gateway pair App.Gateway
Run a co-located application: one replica per node, publishing while its node leads App.Application
Follow the ordered stream, publishing nothing: history off the recording, then the live queue App.Consumer
The same, one level down Replayer.Client.ReplayerStreamReceiver

A façade takes an options class (GatewayOptions, ApplicationOptions) and assembles the whole duty cycle. Its listener sees Payload and ClusterError, and a publish returns Publish.

Namespaces

All under Org.Limitless.Seqeron.

Namespace Holds
App The front door: the two façades above and the blocks they are assembled from
Sequencer.Client Producing: the cluster session (ClusterStreamSender), the encode-and-offer (IngressPublisher) and confirmed ingress (PendingSends)
Replayer.Client Consuming: ReplayerStreamReceiver
Protocol The wire contract: the frame envelope and SequencedEvent, the port layout, the replay protocol's addresses, the counter ids and Publish
Util Support code: infrastructure rather than API

internal types and the generated SBE codecs are not API and are left out.

Getting it

dotnet add package Org.Limitless.Seqeron

The package carries its XML docs, so an IDE shows these pages, and a symbols package beside it.

Read next

  • Client API: what a client programs against, in each language, and what is not API
  • Protocol specification: the frames, the two families and the system vocabulary
  • Examples: FollowStream, the smallest complete client, and the two façades in use