Commit a4a0ad1
[Webpubsub] async API (#34764)
* init
* basic function and perf
* update
* async test
* black
* optimize retry logic
* update for sample
* set policy for async test in windows
* remove async lock
* fix cspell
* fix mypy
* fix pylint
* update dependency
* aiohttp>=3.8.0 in setup.py
* fix for Linux
* optimize for sync api
* fix sample
* optiize for async api
* review
* update test
* update dependency
* update
* fix recovery and reconnect logic
* update test case
* update
* optimize
* async test for open client error
* typing fix
* typing fix
* typing fix
* review for on_error
* stress test
* fix cspell
* fix cspell
* update logging for stress
* rename stress readme
* update
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_util.py
Co-authored-by: Anna Tisch <[email protected]>
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_client.py
Co-authored-by: Anna Tisch <[email protected]>
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_client.py
Co-authored-by: Anna Tisch <[email protected]>
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_client.py
Co-authored-by: Anna Tisch <[email protected]>
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_client.py
Co-authored-by: Anna Tisch <[email protected]>
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_client.py
Co-authored-by: Anna Tisch <[email protected]>
* Update sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/aio/_client.py
Co-authored-by: Anna Tisch <[email protected]>
* review
* review
* review
* update changelog
* update test case name
* fix test
* optimize close logic
* mypy fix
* optimize client.close logic for async api
* udpate changelog
* expose is_connected
* review
* remove nested function
* set all created thread as daemon
* Update CHANGELOG.md
---------
Co-authored-by: Anna Tisch <[email protected]>1 parent f892ccf commit a4a0ad1
File tree
29 files changed
+2522
-323
lines changed- .vscode
- sdk/webpubsub/azure-messaging-webpubsubclient
- azure/messaging/webpubsubclient
- aio
- models
- samples
- stress
- tests
29 files changed
+2522
-323
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1712 | 1712 | | |
1713 | 1713 | | |
1714 | 1714 | | |
1715 | | - | |
| 1715 | + | |
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
1720 | 1726 | | |
1721 | 1727 | | |
1722 | 1728 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments