DoFn Additional Parameters

In addition to the element and the OutputReceiver, Beam will populate other parameters to your DoFn’s @ProcessElement method. Any combination of these parameters can be added to your process method in any order.

Refer to the Beam Programming Guide "Accessing additional parameters in your DoFn" section for more information.