Package com.linkedin.databus.core.util

Examples of com.linkedin.databus.core.util.PhysicalSourceConfigBuilder.build()


      SchemaRegistryService schemaRegistry = _schemaRegistryFactory.createSchemaRegistry();
      HttpRelay.StaticConfig relayStaticConfig = _relayConfigBuilder.build();
      getSourcesIdNameRegistry().updateFromIdNamePairs(relayStaticConfig.getSourceIds());
      PhysicalSourceConfigBuilder psourceConfBuilder =
          new PhysicalSourceConfigBuilder(_physicalSourcesConfigFiles);
      return new HttpRelay(relayStaticConfig, psourceConfBuilder.build(), getSourcesIdNameRegistry(),
                           schemaRegistry);
    }
    catch (IOException ioe)
    {
      throw new DatabusException("OracleRelay instantiation error: " + ioe.getMessage(), ioe);
View Full Code Here


        if (null != sourcesConfigFiles)
        {
          PhysicalSourceConfigBuilder fileConfBuilder =
              new PhysicalSourceConfigBuilder(physConfDirName, sourcesConfigFiles);
          PhysicalSourceStaticConfig[] confsFromFiles = fileConfBuilder.build();
          System.arraycopy(confsFromFiles, 0, physConfigs, physConfIdx, confsFromFiles.length);
        }

        return physConfigs;
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.