Skip to content

Conversation

@jschneidereit
Copy link
Contributor

No description provided.

@jschneidereit jschneidereit force-pushed the jschneidereit/add-compat-warning branch from fe5673e to 101c4cc Compare May 14, 2025 16:26
if (!queryTimeout.isZero() && !queryTimeout.isNegative()) {
log.info("Built stub with queryTimeout={}, interceptors={}", queryTimeout, interceptors.length);
stub = stub.withDeadlineAfter(queryTimeout.getSeconds(), TimeUnit.SECONDS);
// COMPATIBILITY WARNING: Do not use Duration overload since older versions of gRPC don't have it
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add clarification on why we care about older grpc versions. Our grpc version compatibility story should be documented somewhere, and we might even look into having test cases against the minimum grpc version we want to support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants