Configuration Reference for Datagen Source Connector for Confluent Platform

This page includes the connector configuration properties for the Kafka Connect Datagen Source connector. For sample configurations you can use, see the Datagen sample configurations. For information about value converters and other configuration properties, see Configuring Connectors.

Basic Configuration Properties

The following list includes the basic connector configuration properties for the Kafka Connect Datagen Source connector.

Range of backoff times for each retry using the default configuration

Parameter

Description

Default

kafka.topic

The topic to write to.

“”

max.interval

The maximum interval between messages (ms).

500

iterations

The number of messages to send from each task, or -1 for unlimited.

-1

schema.string

The literal JSON-encoded Avro schema to use. This can’t be set with schema.filename or quickstart.

“”

schema.filename

The filename of schema to use. This can’t be set with schema.string or quickstart.

“”

schema.keyfield

The name of field to use as the message key.

“”

quickstart

The name of quickstart to use. This can’t be set with schema.string or schema.filename.

“”