Blackhole connector

The Blackhole connector is a sink that discards every row that it receives. It requires no property other than the connector type.

Usage

Use it to test a query without a real sink, and to check that a job runs. Result sampling is not available in this release. Therefore, a Blackhole table is the simplest way to run a query for which you only need to know that it works.

CREATE TABLE discard_sink (
  order_id INT,
  amount DOUBLE
) WITH (
  'connector' = 'blackhole'
);

To see how many rows the job processes, open the Flink Dashboard of the job. For more information, see Using the Flink Dashboard.