[ 
https://issues.apache.org/jira/browse/BEAM-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismaël Mejía updated BEAM-3282:
-------------------------------
    Component/s:     (was: z-do-not-use-sdk-java-extensions)
                 io-java-mqtt

> MqttIO reader should use receive with timeout
> ---------------------------------------------
>
>                 Key: BEAM-3282
>                 URL: https://issues.apache.org/jira/browse/BEAM-3282
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-mqtt
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 2.3.0
>
>
> Now, {{MqttIO}} reader uses {{connection.receive()}} which is a blocking 
> method, waiting for messages. This prevents the reader to return {{false}} 
> when there's no message and so to advance the processing.
> Instead, the reader should use {{connection.receive(timeout, timeunit)}} and 
> return {{false}} in {{advance()}} when message is null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to