org.zalando.nakadiproducer.transmission.impl.FahrscheinNakadiPublishingClient 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.transmission.impl;
import java.util.List;
import org.zalando.nakadiproducer.transmission.NakadiPublishingClient;
public class FahrscheinNakadiPublishingClient implements NakadiPublishingClient {
private final org.zalando.fahrschein.NakadiClient delegate;
public FahrscheinNakadiPublishingClient(org.zalando.fahrschein.NakadiClient delegate) {
this.delegate = delegate;
}
@Override
public void publish(String eventType, List> nakadiEvents) throws Exception {
delegate.publish(eventType, nakadiEvents);
}
}