• 请不要在回答技术问题时复制粘贴 AI 生成的内容
liuhouer
V2EX  ›  程序员

Flink 两阶段提交这里构造方法能不能用其他的序列化工具呢? kryo 各种兼容性报错!

  •  
  •   liuhouer · Apr 1, 2020 via iPhone · 1209 views
    This topic created in 2267 days ago, the information mentioned may be changed or developed.
    Flink 两阶段提交这里构造方法能不能用其他的序列化工具呢? kryo 各种兼容性报错!
    public class OracleTwoPhaseCommitSink extends TwoPhaseCommitSinkFunction<Tuple3<String, String, String>, Connection, Void> {
    public OracleTwoPhaseCommitSink() {

    super(new KryoSerializer<>(Connection.class, new ExecutionConfig()), VoidSerializer.INSTANCE);

    }
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3297 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 12:13 · PVG 20:13 · LAX 05:13 · JFK 08:13
    ♥ Do have faith in what you're doing.