| 1234567891011121314151617181920212223242526 |
- namespace Admin.NET.Plugin.AiDOP.DataPlatform.Core;
- public static class IngestBatchJournal
- {
- public const string Insert = """
- INSERT INTO mdp_ingest_batch_event
- (batch_id,tenant_id,factory_id,dataset_id,source_id,event_code,attempt_number,record_count,diagnostic,created_at)
- VALUES (@BatchId,@TenantId,@FactoryId,@DatasetId,@SourceId,@EventCode,@Attempt,@Count,@Diagnostic,UTC_TIMESTAMP(6))
- """;
- public const string RawStored = "RAW_STORED";
- public const string RawAccepted = "RAW_ACCEPTED";
- public const string RawRejected = "RAW_REJECTED";
- public const string RawEmpty = "RAW_EMPTY";
- public const string RawExpired = "RAW_EXPIRED";
- public const string WorkerClaimed = "WORKER_CLAIMED";
- public const string WorkerReclaimed = "WORKER_RECLAIMED";
- public const string WorkerLeaseExpired = "WORKER_LEASE_EXPIRED";
- public const string WorkerRetry = "WORKER_RETRY";
- public const string WorkerFailed = "WORKER_FAILED";
- public const string RowsIsolated = "ROWS_ISOLATED";
- public const string PackageFrozen = "PACKAGE_FROZEN";
- public const string DeliveryRetry = "DELIVERY_RETRY";
- public const string DeliveryFailed = "DELIVERY_FAILED";
- public const string DeliveryConfirmed = "DELIVERY_CONFIRMED";
- }
|