KafkaProducerRequest

@Serializable
data class KafkaProducerRequest(val key: String? = null, val topic: String, val message: String) : Action

Data class representing a Kafka request action.

Constructors

Link copied to clipboard
constructor(key: String? = null, topic: String, message: String)

Properties

Link copied to clipboard
val key: String? = null

The key to be used to specify the partition to which the message will be sent.

Link copied to clipboard

The message to be sent to the Kafka topic.

Link copied to clipboard

The Kafka topic where the message will be sent.