在此代码中,我应该使用吗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 ×1