feature: Outbox Relay and Kafka Pipeline
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user