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)
parameter | description |
---|---|
TMessage | The message type |
middlewares | The middleware configuration builder |
config | The protobuf serializer configuration |
See Also
- class ProducerConfigurationBuilderExtensions
- namespace KafkaFlow