SetTransactionId
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the transaction ID in FlowMsg. The transaction ID starts from 1 and can be used to identify the ID of the data batch. If this parameter is set to 0, the custom transaction_id is not used. Instead, the value of transaction_id is internally auto-generated in auto-increment mode.
Prototype
1 | virtual void SetTransactionId(uint64_t transaction_id) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
transaction_id |
Input |
Transaction ID of a message. |
Returns
None
Exception Handling
None
Constraints
None
Parent topic: FlowMsg Data Type