I have a consumer and want to subscribe to two different topics with different schema. One of this topic I need to configure like below:
var schemaRegistry = new CachedSchemaRegistryClient(new SchemaRegistryConfig
{
Url = ConsumerConfig.SchemaRegistryUrl,
BasicAuthUserInfo = ConsumerConfig.SchemaRegistryBasicAuthCredentials,
});
But another Topic I have doesn't need any SchemaRegistryBasicAuthCredentials.(Then I think it will be two different consumer Builder). Is it possible to subscribe to two different topics like this with one consumer?