pl.allegro.tech.hermes.consumers.consumer.batch.MessageBatchingResult 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.batch;
import pl.allegro.tech.hermes.tracker.consumers.MessageMetadata;
import java.util.List;
public class MessageBatchingResult {
private final MessageBatch batch;
private final List discarded;
public MessageBatchingResult(MessageBatch batch, List discarded) {
this.batch = batch;
this.discarded = discarded;
}
public MessageBatch getBatch() {
return batch;
}
public List getDiscarded() {
return discarded;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy