title: How can I convert a Stream of Mono to Flux
body: <p>I have a method that try use WebClient to return a Mono</p>
  
  <pre><code>    @GetMapping("getMatch")
      public Mono&lt;Object&gt; getMatch(@RequestParam Long matchId) {
          return WebClient.create(OpenDotaConstant.BASE_URL).get()
                  .uri("/matches/{matchId}", matchId)
                  .accept(MediaType.APPLICATION_JSON)
                  .retrieve()
                  .bodyToMono(Object.class);
  
      }
  </code></pre>
  
  <p>It can return result that I expected.
  Then I try to create another method to support List as params</p>
  
  <pre><code>    @GetMapping("getMatches")
      public Flux&lt;Object&gt; getMatches(@RequestParam String matchesId) {
          List&lt;Long&gt; matchesList = JSON.parseArray(matchesId, Long.class);
  
          return Flux.fromStream(matchesList.parallelStream().map(this::getMatch));
      }
  </code></pre>
  
  <p>But this time return a weird result.</p>
  
  <pre><code>[
      {
          "scanAvailable": true
      },
      {
          "scanAvailable": true
      }
  ]
  </code></pre>
  
  <p>I'm new to reactive-programming, What is the correct way to combine Stream and Mono,and then convert to the Flux?</p>