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

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

  •  
  •   liuhouer · Apr 1, 2020 via iPhone · 1188 views
    This topic created in 2247 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   ·   5322 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:36 · PVG 15:36 · LAX 00:36 · JFK 03:36
    ♥ Do have faith in what you're doing.