Is it possible to get the worker id in an expression? Or make it available during processing?
Erin Sweeney
Posts: 45 admin
in Stream
Is it possible to get the worker id in an expression? Or somehow make it available during pipeline processing?
0
Best Answer
-
You can get the Worker ID through the
CRIBL_WORKER_ID
environment variable. In your JavaScript expression, you can obtain this value by using this syntax:C.env.CRIBL_WORKER_ID
0
Answers
-
You can get the Worker ID through the
CRIBL_WORKER_ID
environment variable. In your JavaScript expression, you can obtain this value by using this syntax:C.env.CRIBL_WORKER_ID
0