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
@@ -10,6 +10,7 @@ public class OutboxEventConfiguration : IEntityTypeConfiguration<OutboxEvent>
builder.Property(o => o.Id).HasColumnName("id").HasDefaultValueSql("gen_random_uuid()");
builder.Property(o => o.Topic).HasColumnName("topic").HasMaxLength(200).IsRequired();
builder.Property(o => o.Payload).HasColumnName("payload").HasColumnType("jsonb").IsRequired();
builder.Property(o => o.PartitionKey).HasColumnName("partition_key").HasMaxLength(36);
builder.Property(o => o.CreatedAt).HasColumnName("created_at").HasDefaultValueSql("NOW()");
builder.Property(o => o.ProcessedAt).HasColumnName("processed_at");