An example of streaming APIs using playframework