public IDeserializer <T> GetDeserializer <T>()
        {
            if (typeof(T) == typeof(Null))
            {
                return(null);
            }

            var judaSerializer = new SchemaRegistryAvroSerializer(_cachedSchemaRegistryClient, true);

            return(new AvroDeserializer <T>(judaSerializer));
        }
        public ISerializer <T> GetSerializer <T>(bool isKey, string topic)
        {
            if (typeof(T) == typeof(Null))
            {
                return(null);
            }

            var judaSerializer = new SchemaRegistryAvroSerializer(_cachedSchemaRegistryClient, true);

            return(new AvroSerializer <T>(judaSerializer, topic, isKey));
        }