pl.allegro.tech.hermes.consumers.consumer.sender.http.SendingResultHandlers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.consumer.sender.http;
import org.eclipse.jetty.client.ContentResponse;
import org.eclipse.jetty.client.Response.CompleteListener;
import pl.allegro.tech.hermes.consumers.consumer.sender.MessageSendingResult;
import pl.allegro.tech.hermes.consumers.consumer.sender.SingleMessageSendingResult;
import java.util.concurrent.CompletableFuture;
public interface SendingResultHandlers {
CompleteListener handleSendingResultForSerial(CompletableFuture resultFuture);
CompleteListener handleSendingResultForBroadcast(CompletableFuture resultFuture);
MessageSendingResult handleSendingResultForBatch(ContentResponse response);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy