getEventId() | String | Unique ID generated by FlowWarden for this event |
getOperationType() | OperationType | INSERT, UPDATE, REPLACE, DELETE, DROP, INVALIDATE |
getStreamName() | String | Name of the @ChangeStream handler |
getCollectionName() | String | Source MongoDB collection |
getDatabaseName() | String | Source MongoDB database |
getClusterTime() | Instant | MongoDB cluster timestamp (second precision) |
getWallTime() | Instant | MongoDB wall-clock timestamp (millisecond precision, MongoDB 6.0+). Returns null if unavailable. |
getResumeToken() | BsonDocument | Resume token for checkpointing |
getTransactionInfo() | Optional<TransactionInfo> | MongoDB transaction metadata (lsid, txnNumber) when the event is part of a transaction; Optional.empty() for standalone operations |
getDocumentKey() | BsonValue | The _id of the affected document |
getAttemptNumber() | int | Current retry attempt (1-based) |
summary() | String | Human-readable summary of the event, suitable for logging |