title: What's the difference between "text/event-stream" and "application/stream+json"
body: <pre><code>@GetMapping(path = "/cars", produces = "text/event-stream")
  public Flux&lt;Car&gt; getCarStream() {
      System.out.println("application/stream+json");
      return this.repository.findCarsBy().log();
  }
  </code></pre>
  
  <p>What's the difference between the above code and the following:</p>
  
  <pre><code>@GetMapping(path = "/cars", produces = "application/stream+json")
  public Flux&lt;Car&gt; getCarStream() {
      System.out.println("application/stream+json");
      return this.repository.findCarsBy().log();
  }
  </code></pre>
  
  <p>So far I've found the contradictory information: some say they both mean server-sent events and others that there is a difference.</p>