Table of Contents

Property ChunkSize

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

ChunkSize

Optional chunk size preference. Best to just let server select. Defaults on the server to 128KB, automatically clamped to within the range 1KB to 1MB. A smaller chunk size means more in-flight messages and more acks needed. Links with good throughput but high latency may need to increase this.

[JsonPropertyName("chunk_size")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[Range(1024, 1048576)]
public int? ChunkSize { get; set; }

Property Value

int?