-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full Fidelity Change Feed Processor with public surface changes (#30399)
* changes for FFCF pull model * Update FullFidelityChangeFeedTest.java * spark changes * Update CosmosRowConverter.scala * Update SparkE2EChangeFeedITest.scala * Initial changes for change feed processor in full fidelity mode * Setting change feed policy on container for full fidelity in testing * Added changes for type casting change feed processor response to ChangeFeedProcessorResponse object * Renamed ChangeFeedProcessorResponse to ChangeFeedProcessorItem * Added change feed processor new lease changes * Added java docs for ChangeFeedOperationType * Added timeToLiveExpired for change feed meta data * Added logic to create leases based on EPK feed range * Added more logic for feed range based lease * Added the lease token feed range epk implementation code to CFP * Added more TODOs * Code review comments, added lease structure changes and many more * Fixed spotbugs related to package rename and change * Added todo for changelog once we finalize the public surface API * Removed TODOs, finalized API naming * Renamed to handleAllChanges() * Updated Beta API annotation to 4.35.0 * Added comments to Change Feed mode * Updated the changelog * Updated the changelog * Added toJsonNode() API to convert ChangeFeedProcessorItem to JsonNode * Updated beta version to 4.36.0 since 4.35.0 is already released * Added 4.35.0 beta version field back to fix rev api check * Renamed incremental and full fidelity mode to new names on public surface area * Fixed @deprecated annotation * Fixed test cases * Code review comments * Simplifying full fidelity change feed tests * Simplified more tests with less throughput for container creation * Disabled emulator test for checking previous present on replace * Reverted ChangeFeedMode to implementation class. Reverted the name changes of enums * Fixed unit tests for incremental and full_fidelity mode * Disabled full fidelity new tests for testing * Enabled the tests and reduced throughput on ThroughputControlTests * Fixed compilation error * API review comments * API renames, commented out tests for testing * Removed sample code * Switching classes to test the emulator CI * Disabled one test to debug the CI * Disabled full fidelity change feed processor tests for emulator CI * Fixed flaky tests * Enabled basic tests for CFP in FFCF mode Co-authored-by: simorenoh <simonmorenohe@gmail.com>
- Loading branch information
1 parent
17ecaee
commit 2262467
Showing
40 changed files
with
2,045 additions
and
643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.