starlight-rabbitmq/src/main/java/com/datastax/oss/starlight/rabbitmq/ConfigurationUtils.java
public static <T extends PulsarConfiguration> T create(
      InputStream inStream, Class<? extends PulsarConfiguration> clazz)
      throws IOException, IllegalArgumentException {
    try {
      checkNotNull(inStream);
      Properties properties = new Properties();
      properties.load(inStream);
      return (create(properties, clazz));
    } finally {
      if (inStream != null) {
        inStream.close();
      }
    }
  }
/**
   * Creates PulsarConfiguration and loads it with populated attribute values loaded from provided
   * inputstream property file.
   *
   * @param inStream
   * @throws IOException if an error occurred when reading from the input stream.
   * @throws IllegalArgumentException if the input stream contains incorrect value type
   */
Creates PulsarConfiguration and loads it with populated attribute values loaded from provided
inputstream property file.

@param inStream
@throws IOException if an error occurred when reading from the input stream.
@throws IllegalArgumentException if the input stream contains incorrect value type
Creates PulsarConfiguration and loads it with populated attribute values loaded from provided inputstream property file . @param inStream @throws IOException if an error occurred when reading from the input stream . @throws IllegalArgumentException if the input stream contains incorrect value type
public static <T extends PulsarConfiguration> T create(
      InputStream inStream, Class<? extends PulsarConfiguration> clazz)
      throws IOException, IllegalArgumentException {
    try {
      checkNotNull(inStream);
      Properties properties = new Properties();
      properties.load(inStream);
      return (create(properties, clazz));
    } finally {
      if (inStream != null) {
        inStream.close();
      }
    }
  }
public static < T extends PulsarConfiguration > T create ( InputStream inStream , Class < ? extends PulsarConfiguration > clazz ) throws IOException , IllegalArgumentException { try { checkNotNull ( inStream ) ; Properties properties = new Properties ( ) ; properties . load ( inStream ) ; return ( create ( properties , clazz ) ) ; } finally { if ( inStream != null ) { inStream . close ( ) ; } } }
Creates PulsarConfiguration and loads it with populated attribute values loaded from provided
 inputstream property file.
Creates PulsarConfiguration and loads it with populated attribute values loaded from provided inputstream property file .