-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ChangeFeed]Unify cursor and add live mode (#13243)
* [ChangeFeed]Unify cursor and add live mode * make the token into a str * address comments * 1. add a while True for sample 2. make the list of shards in cursor to a dict in internal code 3. test list 3-shard events in multiple times generate same results as list all events at once 4. Java is using sequential list, so it could give 1 shard cursor even there are 3 shards, the test makes sure python is working with 1 shard cursor. * make end_time/start_time and continuation_token mutual exclusive * update dependency version * make all '' to "" in cursor * fix pylint and update changelog * fix blob pylint
- Loading branch information
1 parent
7d13ac8
commit f52dba8
Showing
20 changed files
with
476,916 additions
and
185,077 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
150 changes: 86 additions & 64 deletions
150
sdk/storage/azure-storage-blob-changefeed/azure/storage/blob/changefeed/_models.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
149,880 changes: 70,052 additions & 79,828 deletions
149,880
...ge-blob-changefeed/tests/recordings/test_change_feed.test_get_all_change_feed_events.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
14,118 changes: 3,255 additions & 10,863 deletions
14,118
...lob-changefeed/tests/recordings/test_change_feed.test_get_change_feed_events_by_page.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
6,962 changes: 1,581 additions & 5,381 deletions
6,962
...gefeed/tests/recordings/test_change_feed.test_get_change_feed_events_in_a_time_range.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
160,467 changes: 71,567 additions & 88,900 deletions
160,467
...ests/recordings/test_change_feed.test_get_change_feed_events_with_continuation_token.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
23,787 changes: 23,787 additions & 0 deletions
23,787
...ests/recordings/test_change_feed.test_list_3_shards_events_works_with_1_shard_cursor.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
63,275 changes: 63,275 additions & 0 deletions
63,275
...s_change_feed_during_a_time_range_in_multiple_times_gives_same_result_as_reading_all.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
141,710 changes: 141,710 additions & 0 deletions
141,710
...ests/recordings/test_change_feed.test_read_change_feed_tail_where_3_shards_have_data.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
71,126 changes: 71,126 additions & 0 deletions
71,126
...s/recordings/test_change_feed.test_read_change_feed_tail_where_only_1_shard_has_data.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
30,145 changes: 30,145 additions & 0 deletions
30,145
...ests/recordings/test_change_feed.test_read_change_feed_with_3_shards_in_a_time_range.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
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.