code: public Optional<String> getLogDir() {
          return brokerStarted ? Optional.of(kafkaLogDir.toString()) : Optional.empty();
      }
docs: Get the path to the Kafka log directory
  
  @return An Optional that will only contain a value if the broker is running