SetTransactionId
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the transaction ID in the FlowMsg message. 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 customized transaction_id is not used. Instead, the value of transaction_id is automatically generated in auto-increment mode.
Prototype
1 | virtual void SetTransactionId(uint64_t transactionId) |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
transactionId |
Input |
Transaction ID of a message. |
Returns
None
Troubleshooting
None
Constraints
None
Parent topic: Class FlowMsg