Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 1.4 KB

KafkaFile.md

File metadata and controls

43 lines (22 loc) · 1.4 KB

Kafka file

A Kafka file is a file with the .kafka file extension. It provides, for the currently selected cluster, the ability to declare:

Select cluster

Before performing actions from a .kafka file, a cluster must be selected:

Select cluster

Once a cluster has been selected, the following codelens will appear in the .kafka file:

Selected cluster

PRODUCER

Declare PRODUCER blocks to easily produce records:

Kafka file / PRODUCER

See Producing messages for more information.

CONSUMER

Declare CONSUMER blocks to start/stop consumer groups on a topic, with optional group id, offset and partitions attributes:

Kafka file / CONSUMER

See Consuming messages for more information.

Inline activation

Its possible to trigger the CONSUMER and PRODUCER blocks without clicking on codelens (without using the mouse).

Use the Inline activate - produce or start/stop consumer command to activate the block the cursor is currently in.

Kafka file / inline activation Notice the cursor is inside the red block