feature: Outbox Relay and Kafka Pipeline

This commit is contained in:
voltsrage
2026-06-16 22:12:46 +08:00
parent de603df151
commit 84d259d10c
18 changed files with 1277 additions and 6 deletions
@@ -0,0 +1,9 @@
public class KafkaOptions
{
public const string Section = "Kafka";
public string BootstrapServers { get; set; } = null!;
public KafkaTopicOptions Topics { get; set; } = null!;
public int NumPartitions { get; set; } = 6;
public int OutboxBatchSize { get; set; } = 100;
public int OutboxPollIntervalMs { get; set; } = 500;
}
@@ -0,0 +1,7 @@
public class KafkaTopicOptions
{
public string ObservationRecorded { get; set; } = "observation.recorded";
public string AlertGenerated { get; set; } = "alert.generated";
public string AlertAcknowledged { get; set; } = "alert.acknowledged";
public string EncounterStatusChanged { get; set; } = "encounter.status.changed";
}