All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4k.connect.kafka.rest.extensions.NoOpPartitioner.kt Maven / Gradle / Ivy

There is a newer version: 5.35.3.0
Show newest version
package org.http4k.connect.kafka.rest.extensions

import org.http4k.connect.kafka.rest.model.PartitionId

/**
 * Always selects no partition as a strategy
 */
fun  NoOpPartitioner(@Suppress("UNUSED_PARAMETER") partitions: List) =
    Partitioner { _: K, _: V ->
        null
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy