Print connector


Print connector

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>bitsail-connector-print</artifactId>
    <version>${revision}</version>
</dependency>

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.legacy.print.sink.PrintSink",
      "batch_size": "10"
    }
  }
}

Necessary parameters

Param nameRequiredOptional valueDescription
classyesPrint writer class name, com.bytedance.bitsail.connector.legacy.print.sink.PrintSink

Optional parameters

Param nameRequiredOptional valueDescription
batch_sizenoSpecify the batch size for each write

Configuration examples: print-connector-example