kennknowles opened a new issue, #19479:
URL: https://github.com/apache/beam/issues/19479
org.apache.beam.sdk.transforms.DoFn.OnTimerContext Does not support access
to Key. Current workaround:
@ProcessElement
@StateId("dataKey") ValueState<String\> key
{ key.write(key)}
...
@OnTimer("processTimer") public void OnTimer(OnTimerContext otc,
@StateId("dataKey") ValueState<String\> key,
{key.read()}
Imported from Jira
[BEAM-7155](https://issues.apache.org/jira/browse/BEAM-7155). Original Jira may
contain additional context.
Reported by: [email protected].
--
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]