剑道第一仙

导航

2022年10月12日 #

Flink消费kafka获取kafka消息的offset

摘要: 参考:https://chengyanan.blog.csdn.net/article/details/112391375 虽然Flink消费kafka有着完善的checkpoint机制,可以使得程序停止后再次能从上一次的消费位点继续消费,但是有时候flink的checkpoint也会失败,或者ch 阅读全文

posted @ 2022-10-12 15:17 剑道第一仙 阅读(851) 评论(0) 推荐(0)

flink&kafka报错Caused by: org.apache.flink.api.common.functions.InvalidTypesException: Type of TypeVariable 'OUT' in 'interface xxx.api.functions.source.ParallelSourceFunction' could not be determined

摘要: flink消费kafka,使用自定义实现kafka的消息反序列化,报错 org.apache.flink.api.common.functions.InvalidTypesException: The return type of function 'Custom Source' could not 阅读全文

posted @ 2022-10-12 15:13 剑道第一仙 阅读(628) 评论(0) 推荐(0)