You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can be useful to identify which connection submitted what operation.
This is already possible to some extent by tracking the ID randomly
generated when instantiating `Agent`.
However, this ID obviously changes on every connection, and bears no
relation to the actual client that is connecting.
This change allows the client to specify some ID when connecting, which
will be concatenated on to the agent's ID like this:
`<randomId>:<clientId>`
Keeping the `randomId` ensures that the IDs remain unique, and
concatenating the `clientId` allows the consumer to later determine
which operations were submitted by the client that matches that ID, by
checking the `src` field stored on an operation.
0 commit comments