/// <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();
private ObjectDeserializer Create(Type objectType, IDeserializationContext context) => _deserializerFactory.Create(objectType, context);