public EdgeRegistryServiceTests(SchemaRegistryService schemaRegistryService, EdgeRegistryService edgeRegistryService, ITopicProducer <InsertObject> kafkaProducer, Fixture fixture)
 {
     _edgeRegistryService   = edgeRegistryService;
     _schemaRegistryService = schemaRegistryService;
     _kafkaProducer         = kafkaProducer;
     _fixture = fixture;
 }
 public ConsumerProvider(ILogger <ConsumerProvider> logger, IOptions <ClientConfig> clientConfigOptions,
                         IOptions <ConsumerConfig> consumerConfigOptions, SchemaRegistryService schemaRegistryService)
 {
     _logger                = logger;
     _defaultConfig         = EffectiveConfig(clientConfigOptions.Value, consumerConfigOptions.Value);
     _schemaRegistryService = schemaRegistryService;
 }
Ejemplo n.º 3
0
 public ElasticsearchTests(
     ITopicProducer <InsertObject> kafkaProducer,
     SchemaRegistryService schemaRegistryService,
     EdgeRegistryService edgeRegistryService,
     Fixture fixture,
     IOptions <ConfigurationOptions> options)
 {
     _kafkaProducer         = kafkaProducer;
     _schemaRegistryService = schemaRegistryService;
     _edgeRegistryService   = edgeRegistryService;
     _fixture = fixture;
     _options = options.Value;
 }
 public MaterializationTests(
     OnDemandMaterializerService onDemandMaterializerService,
     SchemaRegistryService schemaRegistryService,
     QueryRouterService queryService,
     ITopicProducer <InsertObject> kafkaProducer,
     Fixture fixture,
     EdgeRegistryService edgeRegistryService)
 {
     _onDemandMaterializerService = onDemandMaterializerService;
     _schemaRegistryService       = schemaRegistryService;
     _queryService        = queryService;
     _kafkaProducer       = kafkaProducer;
     _fixture             = fixture;
     _edgeRegistryService = edgeRegistryService;
 }
 public SchemaRegistryServiceTests(
     SchemaRegistryService schemaRegistryService,
     QueryRouterService queryService,
     ITopicProducer <InsertObject> kafkaProducer,
     Fixture fixture,
     EdgeRegistryService edgeRegistryService,
     OnDemandMaterializerService onDemandMaterializerService,
     IOptions <ConfigurationOptions> options)
 {
     _schemaRegistryService = schemaRegistryService;
     _queryService          = queryService;
     _kafkaProducer         = kafkaProducer;
     _fixture                     = fixture;
     _edgeRegistryService         = edgeRegistryService;
     _onDemandMaterializerService = onDemandMaterializerService;
     _options                     = options.Value;
 }