flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clay4444 <clay4me...@gmail.com>
Subject Re: About the retract of the calculation result of flink sql
Date Sat, 29 Sep 2018 07:47:04 GMT
My final calculation result is implemented in the following way when writing
to kafka, because KafkaTableSink does not support retract mode, I am not
sure whether this method will affect the calculation result.

val userTest: Table = tEnv.sqlQuery(sql)

val endStream = tEnv.toRetractStream[Row](userTest)


val myProducer = new FlinkKafkaProducer011[String](
  kafkaBrokers,         // broker list
  topic,   // target topic
  new SimpleStringSchema)   // serialization schema


Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

View raw message