com.bybutter.sisyphus.middleware.kafka.KafkaLogger.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sisyphus-kafka2 Show documentation
Show all versions of sisyphus-kafka2 Show documentation
Middleware for using Kafka in Sisyphus Project
package com.bybutter.sisyphus.middleware.kafka
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.clients.consumer.KafkaConsumer
interface KafkaLogger {
val id: String
fun log(
listener: KafkaListener<*, *>,
consumer: KafkaConsumer<*, *>,
message: ConsumerRecord<*, *>,
costNanoTime: Long,
exception: Exception?
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy