Flink SQL, how to get the first record and the last record by eventtime in Kafka data flow and store it to a DB(such as MySQL)?
Flink SQL
Kafka
MySQL