Is there a recommended way to get a unique id for each instance of a DoFn?

- DataflowWorkerHarnessOptions.getWorkerId() only returns a unique id per
worker, which can contain multiple instances of a DoFn.
- Looks like ThreadLocalRandom is seeded with the same value on every
instance
- Thinking I'll try workerId + construction timestamp next

Jacob

Reply via email to