ccaominh commented on a change in pull request #8864: add sequenceName and currentCheckPoint for backwards compatibility URL: https://github.com/apache/incubator-druid/pull/8864#discussion_r347055593
########## File path: indexing-service/src/main/java/org/apache/druid/indexing/common/actions/CheckPointDataSourceMetadataAction.java ########## @@ -75,6 +76,28 @@ public SeekableStreamDataSourceMetadata getPreviousCheckPoint() return checkpointMetadata; } + // For backwards compatibility + @Deprecated + @JsonProperty + public SeekableStreamDataSourceMetadata getCurrentCheckPoint() + { + return checkpointMetadata; + } + + /** + * Returning a dummy value so the objects from older versions still work + * with current version + * TODO : this should be removed in the next release + * + * @return dummy value + */ + @Deprecated + @JsonProperty("sequenceName") + public String getBaseSequenceName() Review comment: Similar comment as above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org