pl.allegro.tech.hermes.consumers.consumer.receiver.ReceiverFactory 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.receiver;
import pl.allegro.tech.hermes.api.Subscription;
import pl.allegro.tech.hermes.api.Topic;
import pl.allegro.tech.hermes.common.metric.MetricsFacade;
import pl.allegro.tech.hermes.consumers.consumer.load.SubscriptionLoadRecorder;
import pl.allegro.tech.hermes.consumers.consumer.offset.PendingOffsetsAppender;
import pl.allegro.tech.hermes.consumers.consumer.rate.ConsumerRateLimiter;
public interface ReceiverFactory {
MessageReceiver createMessageReceiver(Topic receivingTopic,
Subscription subscription,
ConsumerRateLimiter consumerRateLimiter,
SubscriptionLoadRecorder subscriptionLoadRecorder,
MetricsFacade metrics,
PendingOffsetsAppender pendingOffsetsAppender);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy