package com.homeadvisor.kafdrop.config;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


@Configuration
public class SchemaRegistryConfiguration {


    @Component
    @ConfigurationProperties(prefix = "schemaregistry")
    public static class SchemaRegistryProperties
    {
        @NotBlank
        private String connect;

        public String getConnect()
        {
            return connect;
        }

        public void setConnect(String connect)
        {
            this.connect = connect;
        }

    }

}

@@ -38,61 +38,8 @@
 g;%0A%0A
-import org.hibernate.validator.constraints.NotBlank;%0A
 impo
@@ -281,17 +281,16 @@
 tion %7B%0A%0A
-%0A
     @Com
@@ -411,26 +411,8 @@
   %7B%0A
-        @NotBlank%0A
     

make config setting optional