gabriel-farache commented on issue #2146:
URL: 
https://github.com/apache/incubator-kie-issues/issues/2146#issuecomment-3436732189

   @wmedvede the `X-TRACKER-<key>` is meant to be some generic header that 
allow user to pass some kind of ID they  may use for specific use case
   THe `X-TRANSACTION-ID` on the other hand is the unique identifier of a 
transaction which represents a virtual workflow suite (virtual because the 
runtime is only executing atomic workflow).
   
   Do you mean that `X-TRANSACTION-ID`  should be use as seed to generate a new 
UUID that will then be used as the `traceId`? The `traceId` should remain the 
same for a given `X-TRANSACTION-ID` value. This could be a good idea as the ` 
traceId` may have to be an 32 characters UUID.
   And the `X-TRANSACTION-ID` may be kept as an attribute in the `Span`.
   
   > That unfortunatelly excludes things like a "process is waked up" by an 
event produced by an external system 😠 , or by when its waked up by a jobs 
service timer 😠
   
   Why? If the headers are persisted and stored in the DB, upon waking up the 
workflow, the `X-TRANSACTION-ID` value will be restored and can be used again 
to generate the `traceId`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to