sajjad-moradi opened a new pull request, #9289: URL: https://github.com/apache/pinot/pull/9289
## Description With this PR, now an operator can change the underlying stream without disabling the table. The operator needs to do the followings: 1) Issue a pause request to the table, 2) Change the stream by modifying table's stream configs like topic name, cluster name, etc. 3) Issue a resume request with the desired offset criteria When a stream is changed, partitions will have new offsets. Before this PR, resume request could only resume the stream from the offsets at which the stream was paused. Since the offsets from previous stream can't be used for the new stream, the resume request should specify offset criteria for the starting point of consumption from the new stream. ## Testing Done - Modified `LLCRealtimeClusterIntegrationTest` locally and created two topics (the consumption started with the first topic) - Issued a pause request - Modified the table config to point to the second topic - Issued a resume request with 'smallest' as offset criteria - Verified that the records in the table include data from both topics - Verified the desired values in segment ZK metadata - Repeated the above steps with 'largest' offset criteria - Repeated the above steps with no offset criteria (for this case topic wasn't changed) -- 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. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org