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

com.soento.logback.kafka.keying.KeyingStrategy Maven / Gradle / Ivy

There is a newer version: 1.2.10-RELEASE
Show newest version
package com.soento.logback.kafka.keying;


import ch.qos.logback.classic.spi.ILoggingEvent;

/**
 * A strategy that can create byte array key for a given {@link ILoggingEvent}.
 * @since 0.0.1
 */
public interface KeyingStrategy {

    /**
     * creates a byte array key for the given {@link ILoggingEvent}
     * @param e the logging event
     * @return a key
     */
    byte[] createKey(E e);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy