Package com.linkedin.databus.eventgenerator

Examples of com.linkedin.databus.eventgenerator.DataGenerator


    {
      try
      {
        String schema = _schemaRegistryService
            .fetchLatestSchemaBySourceName(lconf.getName());
        _dataGenerators.put(lconf.getName(), new DataGenerator(schema));
        _schemaIds.put(lconf.getName(),
            SchemaHelper.getSchemaId(schema));
        Schema eventSchema = Schema.parse(schema);
        String keyColumnName = "key";
        String keyNameOverride = SchemaHelper.getMetaField(eventSchema,
View Full Code Here


            {
              if (_pauseRequested || _shutdownRequested)
              {
                break;
              }
              DataGenerator d = _dataGenerators.get(lconf
                  .getName());
              GenericRecord record = null;
              try
              {
                record = d.generateRandomRecord();
              }
              catch (UnknownTypeException e)
              {
                LOG.error("Could not generate record for source: "
                    + lconf.getName());
View Full Code Here

TOP

Related Classes of com.linkedin.databus.eventgenerator.DataGenerator

Copyright © 2018 www.massapicom. 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.