Queue Event Entity
data class QueueEventEntity(val id: String, val idempotencyKey: String, val type: String, val payloadBlob: ByteArray, val payloadEncoding: String, val payloadBytes: Int, val createdAtEpochMs: Long, val state: String, val attempts: Int, val nextAttemptAtEpochMs: Long, val permanentFailure: Int, val lastError: String? = null, val quarantineReason: String? = null, val updatedAtEpochMs: Long, val userId: String? = null, val dataClassification: String? = null, val anomalyScore: Float? = null)
Constructors
Link copied to clipboard
constructor(id: String, idempotencyKey: String, type: String, payloadBlob: ByteArray, payloadEncoding: String, payloadBytes: Int, createdAtEpochMs: Long, state: String, attempts: Int, nextAttemptAtEpochMs: Long, permanentFailure: Int, lastError: String? = null, quarantineReason: String? = null, updatedAtEpochMs: Long, userId: String? = null, dataClassification: String? = null, anomalyScore: Float? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Backoff gate. Event is eligible for send when nextAttemptAtEpochMs <= now.
Link copied to clipboard
Link copied to clipboard
Payload size in bytes, stored for fast quota checks.
Link copied to clipboard
Link copied to clipboard
1 = permanently failed (do not retry). 0 = retryable.
Link copied to clipboard
Set when permanentFailure is 1 to explain why the event was quarantined.
Link copied to clipboard