Stop consumers from committing past failed offsets, harden Rabbit/DataLake/gateway backpressure, dispose JsonDocument/MinIO correctly, and batch expensive DB/HTTP paths. Track progress in docs/performance.
14 lines
373 B
C#
14 lines
373 B
C#
using System.Text.Json;
|
|
|
|
/// <summary>
|
|
/// Shared JSON options for Kafka clinical event deserialization.
|
|
/// <see cref="JsonSerializerOptions"/> construction is expensive — reuse one instance.
|
|
/// </summary>
|
|
public static class ClinicalEventJson
|
|
{
|
|
public static readonly JsonSerializerOptions Options = new()
|
|
{
|
|
PropertyNameCaseInsensitive = true
|
|
};
|
|
}
|