Print Connector V1
Print Connector V1
Parent document: connectors
BitSail The Print write connector prints the data from the upstream, which can be seen in the Stdout of the Flink Task Manager.
Maven dependency
<dependency>
<groupId>com.bytedance.bitsail</groupId>
<artifactId>connector-print</artifactId>
<version>${revision}</version>
</dependency>
Print Writer
Supported data type
The Print connector has no restrictions on data types
Parameters
The following mentioned parameters should be added to job.writer
block when using, for example:
{
"job": {
"writer": {
"class": "com.bytedance.bitsail.connector.print.sink.PrintSink",
"sample_write": true,
"sample_limit": 10
}
}
}
Necessary parameters
Param name | Required | Optional value | Description |
---|---|---|---|
class | yes | Print writer class name, com.bytedance.bitsail.connector.print.sink.PrintSink |
Optional parameters
Param name | Required | Optional value | Description | Default value |
---|---|---|---|---|
sample_write | no | Write the sampling result to the log | false | |
sample_limit | no | Sampling frequency | 5 |
Related document
Configuration examples: print-connector-example