code: public static DataSource createDataSource(final byte[] yamlBytes) throws SQLException, IOException {
          YamlOrchestrationShardingRuleConfiguration config = unmarshal(yamlBytes);
          return createDataSource(config.getDataSources(), config.getShardingRule(), config.getProps(), config.getOrchestration());
      }
docs: Create sharding data source.
  
  @param yamlBytes YAML bytes for rule configuration of databases and tables sharding with data sources
  @return sharding data source
  @throws SQLException SQL exception
  @throws IOException IO exception