Comments (4)
Yes with gRPC extension it is worked properly.
But if google/cloud-pubsub v2.x and others (which depends on new EmulatorTrait) not works with emulators via http protocol - then it is major breaking changes?
Maybe this should reflect in changelog & documentation?
(BTW: in our case we can not use grpc extension in PHP because it conflict with swoole / openswoole extension)
from google-cloud-php.
Hello! Thank you for commenting on this. Does it work when you install the grpc
extension for PHP? If so, I suggest doing this.
In the meantime, if the emulator requires gRPC, we should wrap the EmulatorTrait
to check if grpc
is installed, and throw an exception if it isn't.
from google-cloud-php.
(BTW: in our case we can not use grpc extension in PHP because it conflict with swoole / openswoole extension)
Can you elaborate more on this? This is news to me, and it's something we should file as a bug in the grpc repo to get fixed.
from google-cloud-php.
it is major breaking changes?
No, because the emulators have never worked with REST, only with gRPC. To confirm this, I checked out v0.233.0
(which is the same as google/cloud-pubsub:v1.51.1
, the last release before 2.0), and used composer install --prefer-lowest
, and received the same error you have here. So AFAICT, REST has never worked in the emulator... there does not seem to be any regression here.
We could open this as a feature request against gcloud
, but otherwise this is out of our (the client library team's) hands.
from google-cloud-php.
Related Issues (20)
- ci: enable flakybot for test failure detection HOT 3
- Fatal error: Uncaught Error: Undefined class constant 'RETRY_HEADER_KEY' HOT 8
- Cohort report not returning expected values. HOT 1
- storage: Support Storage Control Quickstart HOT 2
- Feature Request: Move python dependency on "gcs-updater" to the backend
- AppsMeet Package Permission denied on resource Space error HOT 6
- "serviceusage.services.use" Permission denied. HOT 9
- PHP Reference Docs not generating for new releases HOT 4
- Can't make analytics calls work through a proxy server HOT 3
- FR: Support for Storage HNS enablement HOT 1
- Database::executePartitionedUpdate() returns string instead of int
- Feature Request: move all .repo-metadata.json into one .repo-metadata-full.json
- batchAnnotateFiles failing silently (and taking php thread with it) HOT 2
- Speech API: Cannot use explicit_decoding_config with encoding = ENCODING_UNSPECIFIED HOT 1
- Remove unnecessary abstraction of bytes type or give an option to skip that abstraction HOT 2
- Doesn't return all rows, only the first "package" HOT 6
- Uploading a stream resource's contents to a bucket results in the resource being closed HOT 2
- API key HOT 1
- Storage: Add HNS folders samples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-cloud-php.