<a id="connect-datagen-source-configuration"></a>

# 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](https://github.com/confluentinc/kafka-connect-datagen/tree/master/config).
For information about value converters and other configuration properties, see
[Configuring Connectors](/kafka-connectors/self-managed/configuring.html).

## 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<br/>`schema.filename` or `quickstart`.                                                                              | “”        |
| `schema.filename` | The filename of schema to use. This can’t be set with `schema.string` or<br/>`quickstart`.                                                                                              | “”        |
| `schema.keyfield` | The name of field to use as the message key.                                                                                                                                            | “”        |
| `quickstart`      | The name of [quickstart](https://github.com/confluentinc/kafka-connect-datagen/tree/master/src/main/resources)<br/>to use. This can’t be set with `schema.string` or `schema.filename`. | “”        |
