Kafka

data class Kafka(val brokers: Array<String>? = null, val topic: String? = null, val schemaRegistryUrl: String? = null, val params: Map<String, Any>? = null)

Represents a Kafka configuration.

Constructors

Link copied to clipboard
constructor(brokers: Array<String>? = null, topic: String? = null, schemaRegistryUrl: String? = null, params: Map<String, Any>? = null)

Properties

Link copied to clipboard
val brokers: Array<String>? = null

An array of Kafka brokers. Default is null.

Link copied to clipboard
val params: Map<String, Any>? = null

Additional parameters for Kafka. Default is null.

Link copied to clipboard

The URL of the Schema Registry. Default is null.

Link copied to clipboard
val topic: String? = null

The Kafka topic. Default is null.