Class RealTimeTopicSwitcher

java.lang.Object
com.linkedin.venice.ingestion.control.RealTimeTopicSwitcher

public class RealTimeTopicSwitcher extends Object
Class which implements the process of switching from a batch topic (e.g. version-topic or stream reprocessing topic) to a real-time topic, including: 1. Ensuring the pre-conditions are met, 2. Determining the start timestamp to rewind to, 3. Writing the actual TopicSwitch control message.
  • Constructor Details

  • Method Details

    • transmitVersionSwapMessage

      public void transmitVersionSwapMessage(Store store, int previousVersion, int nextVersion)
    • hasViewConfigs

      public boolean hasViewConfigs(Version nextStoreVersion, Version previousStoreVersion)
    • switchToRealTimeTopic

      public void switchToRealTimeTopic(String realTimeTopicName, String topicNameWhereToSendTheTopicSwitch, Store store, String aggregateRealTimeSourceKafkaUrl, List<String> activeActiveRealTimeSourceKafkaURLs)