ConnectEverything / nats-by-example

Collection of runnable, reference examples using NATS (https://nats.io)
https://natsbyexample.com
152 stars 37 forks source link

[C# .NET V2] Example Confirm Message Ack (double, ack ack, ack sync) #211

Closed scottf closed 1 month ago

scottf commented 2 months ago

Create an example that demonstrates confirmed message ack, aka "ack ack", "double ack" or "ack sync" Directory is jetstream\ack-ack

mtmk commented 2 months ago

there is a test here uses double ack https://github.com/nats-io/nats.net.v2/blob/f6c6419f34741dc9dabfbe400c4861d25901a579/tests/NATS.Client.JetStream.Tests/CustomSerializerTest.cs#L42-L54