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

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

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

/**
 * Evenly distributes all written log messages over all available kafka partitions.
 * This strategy can lead to unexpected read orders on clients.
 * @since 0.0.1
 */
public class NoKeyKeyingStrategy implements KeyingStrategy {

    @Override
    public byte[] createKey(Object e) {
        return null;
    }
}