-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remodel unary callables as server streaming callables with an adapter at the end #2403
Conversation
…adapter at the end Change-Id: I8708dff0e192d7647ef2cb361fc0992e1ddd2b24
Change-Id: Id4c56656a829f5f4c7ab1170f5f980cf3cc3760c
Change-Id: I6afe36b01aedab6820adee7f898923e7351bbad4
Change-Id: I1c45f2058cadc1acb9c6abd87222be9eb233778c
Change-Id: I4e05efaac6ae60f5827c6d666c3c6f6cebebaa54
Change-Id: I654e70f0b34f5d4c3071ba3c2fed64ea183a865e
Change-Id: Ic0106f3c6983edbb032aeba6e107e4324952397d
Change-Id: I4f44969807632678e3c22324967548d9b9ee5bfa
Change-Id: I8d8474050e40cd819d3be2a5b251448f6eb8c94f
Change-Id: I4504c47143000d97554a96469d5f3fd368d08ef1
…r not the next Change-Id: I16a35e19c50b7b7b855f4299cf41f0607b3e90bd
...ble/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableUnaryOperationCallable.java
Show resolved
Hide resolved
...ble/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableUnaryOperationCallable.java
Show resolved
Hide resolved
public void onStart(StreamController controller) { | ||
this.controller = controller; | ||
controller.disableAutoInboundFlowControl(); | ||
// Request 2 to detect protocol bugs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why? is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to preserve the current behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...ble/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableUnaryOperationCallable.java
Show resolved
Hide resolved
...loud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java
Outdated
Show resolved
Hide resolved
...loud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStub.java
Show resolved
Hide resolved
...rc/main/java/com/google/cloud/bigtable/data/v2/stub/TransformingServerStreamingCallable.java
Show resolved
Hide resolved
Change-Id: I4522719a65f24d27fb9dccde031c3b1cc04042c2
This allows us to decouple payload and trailer handling.