public static AzureReplicationFeed.FeedType getReplicationFeedType(VerifiableProperties verifiableProperties) {
    ReplicationConfig replicationConfig = new ReplicationConfig(verifiableProperties);
    if (replicationConfig.replicationCloudTokenFactory.equals(
        CosmosChangeFeedFindTokenFactory.class.getCanonicalName())) {
      return AzureReplicationFeed.FeedType.COSMOS_CHANGE_FEED;
    } else if (replicationConfig.replicationCloudTokenFactory.equals(
        CosmosUpdateTimeFindTokenFactory.class.getCanonicalName())) {
      return AzureReplicationFeed.FeedType.COSMOS_UPDATE_TIME;
    }
    throw new IllegalArgumentException(String.format(
        "Unable to get azure replication feed type due to unknown replicationCloudFindTokenFactory config %s",
        replicationConfig.replicationCloudTokenFactory));
  }
Derive the replication feed type to use from the type of token factory passed in the config.
@param verifiableProperties properties containing configs.
@return {@link AzureReplicationFeed.FeedType} object.
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/AzureCloudDestinationFactory.java