Table of Contents

Property IdleHeartbeat

Namespace
NATS.Client.JetStream.Models
Assembly
NATS.Client.JetStream.dll

IdleHeartbeat

If the Consumer is idle for more than this many nano seconds a empty message with Status header 100 will be sent indicating the consumer is still alive

[JsonPropertyName("idle_heartbeat")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonConverter(typeof(NatsJSJsonNanosecondsConverter))]
public TimeSpan IdleHeartbeat { get; set; }

Property Value

TimeSpan