V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
liuhouer
V2EX  ›  程序员

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

  •  
  •   liuhouer · Apr 1, 2020 via iPhone · 1148 views
    This topic created in 2226 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   ·   4620 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 00:13 · PVG 08:13 · LAX 17:13 · JFK 20:13
    ♥ Do have faith in what you're doing.