Abort the Transaction. Drops the transaction, causing all events written to it to be deleted.
Commit the Transaction. This Causes all messages previously written to the transaction to go into the stream contiguously. This operation will either fully succeed making all events consumable or fully fail such that none of them are. There may be some time delay before readers see the events after this call has returned.
Commit the Transaction and the associated timestamp. This Causes all messages previously written to the transaction to go into the stream contiguously. This operation will either fully succeed making all events consumable or fully fail such that none of them are. There may be some time delay before readers see the events after this call has returned.
Return the transaction id in unsigned integer 128 format.
Check if the transaction is an OPEN state.
Returns the string representation of the transaction including its id and scoped stream.
Write an event into the Pravega Stream.
The event of type string is converted into bytes with UTF-8
encoding.
Optional
routing_key: stringWrite a byte array into the Pravega Stream. This is similar to write_event(...)
api except that the the event to be written is a byte array.
Optional
routing_key: stringGenerated using TypeDoc
This represents a transaction on a given Stream.