org.http4k.connect.kafka.rest.KafkaRest.kt Maven / Gradle / Ivy
package org.http4k.connect.kafka.rest
import dev.forkhandles.result4k.Result
import org.http4k.connect.Http4kConnectApiClient
import org.http4k.connect.RemoteFailure
import org.http4k.connect.kafka.rest.v2.KafkaRestV2Action
import org.http4k.connect.kafka.rest.v3.KafkaRestV3Action
/**
* Docs: https://docs.confluent.io/platform/current/kafka-rest/
*/
@Http4kConnectApiClient
interface KafkaRest {
operator fun invoke(action: KafkaRestV2Action): Result
operator fun invoke(action: KafkaRestV3Action): Result
companion object
}