docs: public int deleteLogs(String topic, String password) {
          if (!config.getAuthentication().auth(password)) {
              return -1;
          }
          int value = 0;
          synchronized (logCreationLock) {
              Pool<Integer, Log> parts = logs.remove(topic);
              if (parts != null) {
                  List<Log> deleteLogs = new ArrayList<Log>(parts.values());
                  for (Log log : deleteLogs) {
                      log.delete();
                      value++;
                  }
              }
              if (config.getEnableZookeeper()) {
                  topicRegisterTasks.add(new TopicTask(TopicTask.TaskType.DELETE, topic));
              }
          }
          return value;
      }