Class TopicPlacementContext

java.lang.Object
com.linkedin.venice.controller.placement.TopicPlacementContext

public final class TopicPlacementContext extends Object
Store, topic and destination details used to select a backend.
  • Constructor Details

    • TopicPlacementContext

      public TopicPlacementContext(String clusterName, String storeName, String topicName, String destinationAddress, boolean legacyAlternative)
  • Method Details

    • getClusterName

      public String getClusterName()
    • getStoreName

      public String getStoreName()
      The owning user-store name, including when the topic belongs to its push-status store.
    • getTopicName

      public String getTopicName()
    • getDestinationAddress

      public String getDestinationAddress()
      The target TopicManager's address, which may differ from the controller's region.
    • isLegacyAlternative

      public boolean isLegacyAlternative()
      Static configuration's choice for this topic, for comparison rather than an active-placement veto.