title: Error in kafka consumer with spring boot (disconnected)
body: <p>I am getting this error in consumer when using spring boot:</p>
  <pre><code>2021-10-11 19:42:41.388  WARN 64415 --- [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-something-1, groupId=some_group_id] Bootstrap broker my_address:9093 (id: -1 rack: null) disconnected
  </code></pre>
  <p>My application.properties are:</p>
  <pre><code>spring.kafka.consumer.bootstrap-servers = my_address:9093
  spring.kafka.consumer.group-id= some_group_id
  spring.kafka.consumer.auto-offset-reset = earliest
  </code></pre>
  <p>Java code will call following properties in consumer.properties</p>
  <pre><code>bootstrap.servers=my_address:9093
  schema.registry.url=https://URL.net
  security.protocol=SSL
  ssl.truststore.location=some_path.jks
  ssl.truststore.password=pinPass
  ssl.keystore.location=some_path.jks
  ssl.keystore.password=pinPass
  ssl.key.password=pinPass
  </code></pre>
  <p>in java:</p>
  <pre><code>properties.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG,io.confluent.kafka.serializers.KafkaAvroDeserializer.class);
  properties.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG,io.confluent.kafka.serializers.KafkaAvroDeserializer.class);
  </code></pre>
  <p>Please let me know if any more inputs needed.</p>
  <p>Note: same code works fine for localhost..Also there is no issue with server as i have another code without spring and it works fine!</p>