AdminSettings

data class AdminSettings(val bootstrapServer: String, props: Properties? = null)

Typed data class for creating a valid Admin instance. The only required parameter is the bootstrapServer, and all other optional parameters can be added using the props parameter.

See also

org.apache.kafka.clients.admin.AdminClientConfig

for additional kafka Admin parameters

If you want to request an important stable kafka parameter to be added to the data class, please open an issue on the kotlin-kafka repo.

Constructors

Link copied to clipboard
fun AdminSettings(bootstrapServer: String, props: Properties? = null)

Functions

Link copied to clipboard
fun properties(): Properties

Properties

Link copied to clipboard
val bootstrapServer: String

Sources

Link copied to clipboard