GeezerVison is showing github.com (truncated) — Max ack ext by davidtorres · Pull Request #1773 · googleapis/google-cloud-java
Conversation
@kamalaboulhosn tell me how does this PR looks to you before I send a pull request to the java lib folks
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…on to (googleapis#1645)".
Compression is not fully supported in gRPC, can't have it in the library
yet.
This reverts commit a599972.
…Consumer interface, it really is
no useful to be able to set an exception as ack reply, since the result
is the same as nack, if we ever require another result then we can just
add one more value to the AckReply enum.
Also adding a fail-safe catch so if the receiver ever throws an
exception we will interpret that as a nack and keep going.
|
|
@@ -103,7 +109,7 @@ void extendExpiration(Instant now) { |
|
|
expiration = now.plus(Duration.standardSeconds(nextExtensionSeconds));
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
&& outstandingAckHandlers.peek().expiration.compareTo(cutOverTime) <= 0) {
|
|
|
ExtensionJob job = outstandingAckHandlers.poll();
|
|
|
|
|
|
if (job.creation.plus(maxAckExtensionPeriod).compareTo(now) < 0) {
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This prevents the library extending messages infinitevely if the user
code has lost track of the ack consumer handle.
|
As we spoke made the changes to preserve the stream ack deadline based on the subscriber ack latency distribution
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
the next extension surpasses it.
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
|