mosche commented on issue #21378:
URL: https://github.com/apache/beam/issues/21378#issuecomment-1196614880

   Same issue apparently exists for the Flink runner. 
   
   From user@beam
   > When running on Flink, eventually it hits an unsupported exception 
"Canceling a timer by ID is not yet supported." on this line [1]. The source 
inputs are AVRO files for testing (batch) but will use kafka topics (streaming) 
when deployed.
   > 
   > This happens when the batch is filled (10 items) and the max buffering 
time timer needs to be cancelled.
   > 
   > Anyone else observed this issue?
   > 
   > On a related note. Looks like the FlinkStatefulDoFnFunction [2] uses 
InMemoryTimerInternals. Curious why is FlinkTimerInternals not used? I would 
guess there's a difference between batch and streaming requirements?
   >
   > [1] 
[https://github.com/apache/beam/blob/b87f1f01197a78d60fb08a0ee7a4ef96bc4e08eb/runners/core-java/src/main/java/org/apache/beam/runners/core/InMemoryTimerInternals.java#L157](https://urldefense.com/v3/__https://github.com/apache/beam/blob/b87f1f01197a78d60fb08a0ee7a4ef96bc4e08eb/runners/core-java/src/main/java/org/apache/beam/runners/core/InMemoryTimerInternals.java*L157__;Iw!!CiXD_PY!Unl7jPgD471rWqXoU1CFDTX5qSwKpFHAGeryXtengpgyI2UDIfpkehBS3_SRwZFccFP97Hp__p4$)
   > [2] 
[https://github.com/apache/beam/blob/b87f1f01197a78d60fb08a0ee7a4ef96bc4e08eb/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/functions/FlinkStatefulDoFnFunction.java#L136](https://urldefense.com/v3/__https://github.com/apache/beam/blob/b87f1f01197a78d60fb08a0ee7a4ef96bc4e08eb/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/functions/FlinkStatefulDoFnFunction.java*L136__;Iw!!CiXD_PY!Unl7jPgD471rWqXoU1CFDTX5qSwKpFHAGeryXtengpgyI2UDIfpkehBS3_SRwZFccFP97zQLGAI$)
   > [3] 
[https://github.com/apache/beam/blob/b87f1f01197a78d60fb08a0ee7a4ef96bc4e08eb/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java#L1314](https://urldefense.com/v3/__https://github.com/apache/beam/blob/b87f1f01197a78d60fb08a0ee7a4ef96bc4e08eb/runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java*L1314__;Iw!!CiXD_PY!Unl7jPgD471rWqXoU1CFDTX5qSwKpFHAGeryXtengpgyI2UDIfpkehBS3_SRwZFccFP9bD4M2yo$)
   


-- 
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]

Reply via email to