java.lang.Object
pl.allegro.tech.hermes.management.infrastructure.kafka.service.retransmit.KafkaRetransmissionService
All Implemented Interfaces:
RetransmissionService

public class KafkaRetransmissionService extends Object implements RetransmissionService
  • Constructor Summary

    Constructors
    Constructor
    Description
    KafkaRetransmissionService(pl.allegro.tech.hermes.common.broker.BrokerStorage brokerStorage, pl.allegro.tech.hermes.common.kafka.offset.SubscriptionOffsetChangeIndicator subscriptionOffsetChange, pl.allegro.tech.hermes.common.kafka.KafkaConsumerPool consumerPool, pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper kafkaNamesMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    areOffsetsMoved(pl.allegro.tech.hermes.api.Topic topic, String subscriptionName, String brokersClusterName)
     
    List<pl.allegro.tech.hermes.common.kafka.offset.PartitionOffset>
    fetchTopicEndOffsets(pl.allegro.tech.hermes.api.Topic topic)
     
    List<pl.allegro.tech.hermes.common.kafka.offset.PartitionOffset>
    fetchTopicOffsetsAt(pl.allegro.tech.hermes.api.Topic topic, Long timestamp)
     
    void
    indicateOffsetChange(pl.allegro.tech.hermes.api.Topic topic, String subscription, String brokersClusterName, List<pl.allegro.tech.hermes.common.kafka.offset.PartitionOffset> partitionOffsets)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KafkaRetransmissionService

      public KafkaRetransmissionService(pl.allegro.tech.hermes.common.broker.BrokerStorage brokerStorage, pl.allegro.tech.hermes.common.kafka.offset.SubscriptionOffsetChangeIndicator subscriptionOffsetChange, pl.allegro.tech.hermes.common.kafka.KafkaConsumerPool consumerPool, pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper kafkaNamesMapper)
  • Method Details