flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tzu-Li (Gordon) Tai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8285) Iterator Data Sink doesn't mention required module
Date Mon, 18 Dec 2017 19:25:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295518#comment-16295518

Tzu-Li (Gordon) Tai commented on FLINK-8285:

Ah, sorry, I somehow was thinking of the {{DataSet}} API :/

Yes, the {{DataStream}} API does not currently officially support a {{collect}} counterpart.
It could make sense, though, to move that from {{flink-streaming-contribs}} to be supported
in the {{DataStream}} API out-of-the-box. There is already some discussion going on in dismantling
the {{flink-streaming-contribs}} module.

> Iterator Data Sink doesn't mention required module
> --------------------------------------------------
>                 Key: FLINK-8285
>                 URL: https://issues.apache.org/jira/browse/FLINK-8285
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4.0
>         Environment: Linux CentOS/7
>            Reporter: Julio Biason
> In the docs about [https://ci.apache.org/projects/flink/flink-docs-release-1.4/dev/datastream_api.html#iterator-data-sink],
it's mentioned that one could use an interator for retrieving the result of the stream.
> But there is no mention of any external packages (as it happens with some examples in
the metrics) and trying to use causes an error:
> [error] object contrib is not a member of package org.apache.flink
> [error] import org.apache.flink.contrib.streaming.DataStreamUtils
> The line in question (as copied'n'pasted directly from the examples):
> import org.apache.flink.contrib.streaming.DataStreamUtils
> (PS: Source is in Scala, not Java)

This message was sent by Atlassian JIRA

View raw message