本文介绍消费Kafka的消息实时写入Mysql
- maven新增依赖:
1 | <dependency> |
2.重写RichSinkFunction,实现一个Mysql Sink
1 | public class MysqlSink extends |
- Flink主类
1 | public class MysqlSinkTest { |
www.icocos.cn
本文介绍消费Kafka的消息实时写入Mysql
1 | <dependency> |
2.重写RichSinkFunction,实现一个Mysql Sink
1 | public class MysqlSink extends |
1 | public class MysqlSinkTest { |
微信支付
支付宝