fix: allow trace id to switch within the same connection by GaoleMeng · Pull Request #2852 · googleapis/java-bigquerystorage
This change will allow the trace id to be changeable within the same connection. So that the same connection pool could be used for multiple different trace id from different stream writer. We will pass a new trace id to server side once we detect a table switch
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- Ensure the tests and linter pass
- Code coverage does not decrease (if any source code was changed)
- Appropriate docs were updated (if necessary)
Fixes #<issue_number_goes_here> ☕️
If you write sample code, please follow the samples format.