Commit 44a4e4d
feat: Change one thread per retry to use a thread pool (#1898)
* feat: Split writer into connection worker and wrapper, this is a
prerequisite for multiplexing client
* feat: add connection worker pool skeleton, used for multiplexing client
* feat: add Load api for connection worker for multiplexing client
* feat: add multiplexing support to connection worker. We will treat every
new stream name as a switch of destinationt
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat: port the multiplexing client core algorithm and basic tests
also fixed a tiny bug inside fake bigquery write impl for getting thre
response from offset
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat: wire multiplexing connection pool to stream writer
* feat: some fixes for multiplexing client
* feat: fix some todos, and reject the mixed behavior of passed in client or not
* feat: fix the bug that we may peek into the write_stream field but it's
possible the proto schema does not contain this field
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat: fix the bug that we may peek into the write_stream field but it's
possible the proto schema does not contain this field
* feat: add getInflightWaitSeconds implementation
* feat: Add schema comparision in connection loop to ensure schema update for
the same stream name can be notified
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* feat: add schema update support to multiplexing
* fix: fix windows build bug: windows Instant resolution is different with
linux
* fix: fix another failing tests for windows build
* fix: fix another test failure for Windows build
* feat: Change new thread for each retry to be a thread pool to avoid
create/tear down too much threads if lots of retries happens
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent 8e90767 commit 44a4e4d
File tree
1 file changed
+24
-22
lines changed- samples/snippets/src/main/java/com/example/bigquerystorage
1 file changed
+24
-22
lines changedLines changed: 24 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| 198 | + | |
| 199 | + | |
196 | 200 | | |
197 | 201 | | |
198 | 202 | | |
| |||
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
229 | 232 | | |
230 | 233 | | |
231 | 234 | | |
| |||
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
| |||
0 commit comments