org.zalando.nakadiproducer.snapshots.SimpleSnapshotEventGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nakadi-producer Show documentation
Show all versions of nakadi-producer Show documentation
Reliable transactional Nakadi event producer
package org.zalando.nakadiproducer.snapshots;
import org.springframework.lang.Nullable;
import java.util.List;
import java.util.function.BiFunction;
import java.util.function.Function;
/**
* This is a simple implementation of the {@link SnapshotEventGenerator}. It is
* meant to be used in a functional style.
*
* @see SnapshotEventGenerator
* @deprecated Please use the {@link SnapshotEventGenerator#of} methods instead.
*/
@Deprecated
public final class SimpleSnapshotEventGenerator implements SnapshotEventGenerator {
private final String supportedEventType;
private final BiFunction