Ejemplo n.º 1
0
 /// <inheritdoc />
 public IConsumer <TKey, TValue> Create <TKey, TValue>(
     ConsumerConfig config,
     IConsumerConfigurator configurator,
     IDeserializerFactory deserializerFactory) =>
 configurator.Configure(
     new ConsumerBuilder <TKey, TValue>(config),
     deserializerFactory.Create <TKey>(),
     deserializerFactory.Create <TValue>())
 .Build();