title: spring webflux, convert Flux to arraylist (or iterable list)
body: <p>I apologize in advance, because I think the answer is already on this forum, but, I can not find the answer, ... (I speak very little English).</p>
  
  <p>I have 2 microservice spring, which communicates in webflux.</p>
  
  <p>I want to convert a FLUX into an iterable list (arraylist, or other), but I can't understand the process, ..</p>
  
  <pre><code>@GetMapping("societes/list")
  public Flux&lt;Societe&gt; listeSociete() {
  webClientBuilder.build().get()
          .uri("http://microservice:9622/societes/list")
          .retrieve()
          .bodyToFlux(Societe.class)}
  </code></pre>
  
  <p>if I put '.collectList (). block (),</p>
  
  <pre><code>"message": "block()/blockFirst()/blockLast() are blocking, which is not supported in thread reactor-http-nio-2",
  </code></pre>
  
  <p>thanks in advance</p>