Skip to main content
Version: 3.x

ProducerConfigurationBuilderExtensions.AddSchemaRegistryJsonSerializer<TMessage> method

Registers a middleware to serialize json messages using schema registry

public static IProducerMiddlewareConfigurationBuilder AddSchemaRegistryJsonSerializer<TMessage>(
this IProducerMiddlewareConfigurationBuilder middlewares, JsonSerializerConfig config = null)
parameterdescription
TMessageThe message type
middlewaresThe middleware configuration builder
configThe protobuf serializer configuration

See Also