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

com.bybutter.sisyphus.middleware.kafka.KafkaLogger.kt Maven / Gradle / Ivy

There is a newer version: 2.1.22
Show newest version
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