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

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

  •  
  •   liuhouer · Apr 1, 2020 via iPhone · 1177 views
    This topic created in 2238 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   ·   5960 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 06:51 · PVG 14:51 · LAX 23:51 · JFK 02:51
    ♥ Do have faith in what you're doing.