SetTransactionId

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

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 transactionId)

Parameters

Parameter

Input/Output

Description

transactionId

Input

Transaction ID of a message.

Returns

None

Exception Handling

None

Constraints

None