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

Jun Zhang commented on FLINK-13900:
-----------------------------------

I suggest that we should control the output speed of the stream through 
parameters. Otherwise, if the stream data is particularly large, it will affect 
the output display, and the TM out log will become extremely large in an 
instant. In my job , I add a MapFunction after the datastream and use 
Thread.sleep to control the output speed

> Add a built-in "console" sink to print results in console
> ---------------------------------------------------------
>
>                 Key: FLINK-13900
>                 URL: https://issues.apache.org/jira/browse/FLINK-13900
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table SQL / API, Table SQL / Planner
>            Reporter: Jark Wu
>            Priority: Major
>
> It is a useful feature for debugging and quickstart. With the console builtin 
> sink, we can directly output arbitrary query into the console or 
> {{taskmanager.out}} in cluster setup. 
> Currently, we have to implement a dedicate PrintTableSink and configure every 
> field names and types before output the query, which is very verbose. 
> {code:sql}
> INSERT INTO console
> SELECT * FROM kafka_logs
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to