Thoughtworks interview question

How does Apache Flink and Spark differ ?