Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.7.0')
implementation platform('com.google.cloud:libraries-bom:26.8.0')

implementation 'com.google.cloud:google-cloud-bigquerystorage'
```
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-bigquerystorage:2.31.0'
implementation 'com.google.cloud:google-cloud-bigquerystorage:2.31.1'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.31.0"
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.31.1"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,17 @@ private void appendLoop() {
}
}

log.fine("Cleanup starts. Stream: " + streamName + " id: " + writerId);
log.info(
"Cleanup starts. Stream: "
+ streamName
+ " id: "
+ writerId
+ " userClose: "
+ userClosed
+ " final exception: "
+ (this.connectionFinalStatus == null
? "null"
: this.connectionFinalStatus.toString()));
// At this point, the waiting queue is drained, so no more requests.
// We can close the stream connection and handle the remaining inflight requests.
if (streamConnection != null) {
Expand All @@ -590,13 +600,13 @@ private void appendLoop() {
}

// At this point, there cannot be more callback. It is safe to clean up all inflight requests.
log.fine(
log.info(
"Stream connection is fully closed. Cleaning up inflight requests. Stream: "
+ streamName
+ " id: "
+ writerId);
cleanupInflightRequests();
log.fine("Append thread is done. Stream: " + streamName + " id: " + writerId);
log.info("Append thread is done. Stream: " + streamName + " id: " + writerId);
}

/*
Expand Down Expand Up @@ -809,7 +819,9 @@ private void doneCallback(Throwable finalStatus) {
+ (maxRetryDuration.toMillis()
- (System.currentTimeMillis() - connectionRetryStartTime))
+ ", for stream "
+ streamName);
+ streamName
+ " id:"
+ writerId);
} else {
Exceptions.StorageException storageException = Exceptions.toStorageException(finalStatus);
this.connectionFinalStatus = storageException != null ? storageException : finalStatus;
Expand Down