title: How do you use WebFlux to parse an event stream that does not conform to Server Sent Events?
body: <p>I am trying to use WebClient to deal with the Docker <code>/events</code> endpoint.  However, it does not conform to the <code>text/eventstream</code> contract in that each message is separated by <strong>2</strong> LFs.  It just sends it as one JSON document followed by another.</p>
  
  <p>It also sets the MIME type to <code>application/json</code> rather than <code>text/eventstream</code>.</p>
  
  <p>What I am thinking of but not implemented yet is to create a node proxy that will add the required line feed and put that in between but I was hoping to avoid that kind of workaround.</p>