sajjad-moradi commented on issue #7100:
URL: https://github.com/apache/pinot/issues/7100#issuecomment-1232284738

   There are two types of properties when it comes to changing the stream 
configs:
   1. Changes that modify the underlying stream like topic name or cluster name 
change.
   2. Stream compatible changes that don't modify the underlying stream like 
segment.threshold parameters
   
   The problem with first type is that offsets of different partitions change 
completely when the underlying stream changes. Pause/resume feature - that 
recently merged into master (#8986 and #9289) - can help here. For these 
incompatible parameter changes, the resume request has an option to handle the 
case of a completely new set of offsets. Operators can now follow a three-step 
process: First, issue a Pause request. Second, change the consumption 
parameters. Finally, issue the Resume request with the appropriate option. 
These steps will preserve the old data and allow the new data to be consumed 
immediately. All through the operation, queries will continue to be served.
   
   For the 2nd type, force commit endpoint #9197 can be used. The current 
consuming segments which hold the previous values in stream config will be 
immediately completed and new consuming segment will be spun off. These new 
consuming segments will pick up the new values in the stream config.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to