[FLINK-1208] scala integration