[
https://issues.apache.org/jira/browse/BEAM-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179824#comment-17179824
]
Beam JIRA Bot commented on BEAM-3274:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> MqttIO CheckpointMark decoding randomly fails
> ---------------------------------------------
>
> Key: BEAM-3274
> URL: https://issues.apache.org/jira/browse/BEAM-3274
> Project: Beam
> Issue Type: Bug
> Components: io-java-mqtt
> Affects Versions: 2.2.0
> Reporter: Jean-Baptiste Onofré
> Priority: P2
> Labels: stale-P2
>
> Randomly, the decoding of MQTT CheckpointMark randomly fails:
> {code}
> Caused by: org.apache.beam.sdk.coders.CoderException: 95 unexpected extra
> bytes after decoding
> org.apache.beam.sdk.io.mqtt.MqttIO$MqttCheckpointMark@14922739
> at
> org.apache.beam.sdk.util.CoderUtils.decodeFromByteArray(CoderUtils.java:116)
> at
> org.apache.beam.sdk.util.CoderUtils.decodeFromByteArray(CoderUtils.java:107)
> at org.apache.beam.sdk.util.CoderUtils.clone(CoderUtils.java:156)
> at
> org.apache.beam.runners.direct.UnboundedReadEvaluatorFactory$UnboundedReadEvaluator.getReader(UnboundedReadEvaluatorFactory.java:191)
> at
> org.apache.beam.runners.direct.UnboundedReadEvaluatorFactory$UnboundedReadEvaluator.processElement(UnboundedReadEvaluatorFactory.java:127)
> at
> org.apache.beam.runners.direct.TransformExecutor.processElements(TransformExecutor.java:146)
> at
> org.apache.beam.runners.direct.TransformExecutor.run(TransformExecutor.java:110)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> It happens especially when the number of messages to consume from the MQTT
> topic is high.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)