小编liu*_*uan的帖子

什么时候使用transient,什么时候不使用flink?

在此代码中,我应该使用吗transient

我什么时候可以使用transient

有什么不同 ?

需要你的帮助

private              Map<String, HermesCustomConsumer> topicSourceMap                 = new ConcurrentHashMap();
private              Map<TopicAndPartition, Long>      currentOffsets                 = new HashMap<>();
private transient Map<TopicAndPartition, Long>         restoredState;
Run Code Online (Sandbox Code Playgroud)

apache-flink

7
推荐指数
1
解决办法
3072
查看次数

标签 统计

apache-flink ×1