Comments (12)
I'll have a look as soon as I can! Depending on what we change, we might have breaking changes if we modify types.
from pubsub.
Oops 🤭 We just moved from CircleCI to Github Actions and it looks like we still have an issue with the publish workflow...
Thank you for letting me know!
from pubsub.
Just a dummy issue from my part: forgot to run the TypeScript build before publishing it to npm...
Version 4.4.1 should fix this now 😉
from pubsub.
Great 😄 You're welcome, and thank you also for your feedback!
from pubsub.
Hi @Shiroh1ge,
Thank you for your positive feedback 😄
Indeed, with the current version, we use topic.subscription
:
pubsub/src/GoogleCloudPubSub/GoogleCloudPubSub.ts
Lines 236 to 238 in 356789d
We can only set:
Unfortunately, I don't think there is a workaround in the current version. We cannot provide CreateSubscriptionOptions with the subscription.get
method and the autoCreate
flag set to true 😕
I've found an opened issue in the official lib: googleapis/nodejs-pubsub#1196
We could apply the workaround suggested just below.
from pubsub.
Hey @ccoeurderoy , thanks for the quick response! I also found the issue and came to the same conclusion, that we'd have to manually check if the subscription exists and create it with the CreateSubscriptionOptions
. If you can make this change that would be awesome, I'm also willing to help you with that if you want.
from pubsub.
I don't mind the breaking changes, thanks very much for the help, very much appreciated!
from pubsub.
🎉 This issue has been resolved in version 4.4.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from pubsub.
@Shiroh1ge it should be ok now 😉
I hope Google will consider the previous issue! Feel free to re-open this issue if it does not work
from pubsub.
@ccoeurderoy I tried the latest 4.4.0 version, but for some reason I have no dist folder after installing it, I only see the package.json
and README.md
. Any idea why this can happen? I also tried removing the Nest packages, but it didn't help. 4.3.1
works fine
from pubsub.
No worries! I checked the package.json and it could be because of this:
"files": [
"dist/src/"
],
Probably has to be just dist/
, but I'm not familiar with the project, so just a suggestion :D
from pubsub.
@ccoeurderoy this has also happened to me 😆 , I just tested it and it works perfectly. Thanks again for the quick update!
from pubsub.
Related Issues (12)
- The automated release is failing 🚨
- event name used to create topic and subscription HOT 3
- Tests are failing locally HOT 1
- It is blocking the event loop HOT 3
- Google never acknowledge that the event has been received and send it again and again. HOT 2
- How to set orderingKey in Nestjs ? HOT 1
- Upgrade to @google-cloud/pubsub 3.5.1 HOT 2
- Prevent auto create topic HOT 5
- autoAck: false not supported HOT 3
- how to close the connection to stop listening for new messages? HOT 16
- Request: Subscription character separator HOT 2
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 pubsub.