Console
Console sink connector
Descriptionâ
Output data to standard terminal or Flink taskManager, which is often used for debugging and easy to observe the data.
tip
Engine Supported and plugin name
- Spark: Console
- Flink: Console
Optionsâ
- Spark
- Flink
name | type | required | default value |
---|---|---|---|
limit | number | no | 100 |
serializer | string | no | plain |
common-options | string | no | - |
limit [number]â
Limit the number of rows
to be output, the legal range is [-1, 2147483647]
, -1
means that the output is up to 2147483647
rows
serializer [string]â
The format of serialization when outputting. Available serializers include: json
, plain
common options [string]â
Sink plugin common parameters, please refer to Sink Plugin for details
Optionsâ
name | type | required | default value |
---|---|---|---|
limit | int | no | INT_MAX |
common-options | string | no | - |
limit [int]â
limit console result lines
common options [string]â
Sink plugin common parameters, please refer to Sink Plugin for details
Examplesâ
- Spark
- Flink
console {
limit = 10,
serializer = "json"
}
Output 10 rows of data in Json format