Re: [go-nuts] Re: help with the Google Pub/Sub Go client API

2021-04-20 Thread 'hong...@google.com' via golang-nuts
Ack. Yeah, I totally agree with some of your points. I'll create a tracking issue to improve the comments and the docs. Thanks a ton for the feedback! On Monday, April 19, 2021 at 4:10:14 PM UTC-7 kortschak wrote: > Comments in-line. > > On Mon, 2021-04-19 at 15:08 -0700, 'hong...@google.com' vi

Re: [go-nuts] Re: help with the Google Pub/Sub Go client API

2021-04-19 Thread 'Dan Kortschak' via golang-nuts
Comments in-line. On Mon, 2021-04-19 at 15:08 -0700, 'hong...@google.com' via golang-nuts wrote: > Ah, glad your issue was resolved. I did want to point out one thing: > > > 2. The topic was obtained in the subscriber using new topic > creation > > `client.CreateTopic(ctx, topic)` rather than gett

Re: [go-nuts] Re: help with the Google Pub/Sub Go client API

2021-04-19 Thread 'hong...@google.com' via golang-nuts
Ah, glad your issue was resolved. I did want to point out one thing: > 2. The topic was obtained in the subscriber using new topic creation > `client.CreateTopic(ctx, topic)` rather than getting a topic reference > `client.Topic(topic)` which I see now is incorrect (thought which is > poorly expla

Re: [go-nuts] Re: help with the Google Pub/Sub Go client API

2021-04-19 Thread 'Dan Kortschak' via golang-nuts
On Mon, 2021-04-19 at 10:37 -0700, 'hong...@google.com' via golang-nuts wrote: > Is it possible for you to paste your yaml config file? At first > glance, nothing seems to be out of the ordinary, but I'd like to try > with the same configuration that you have to see if I missed > anything. Thanks,

[go-nuts] Re: help with the Google Pub/Sub Go client API

2021-04-19 Thread 'hong...@google.com' via golang-nuts
Could you also post the logs when you run the non-working version? On Thursday, April 15, 2021 at 3:00:55 AM UTC-7 kortschak wrote: > I am trying to set up a toy to understand Google's Pub/Sub service Go > client API. I have had no trouble with publishing and have a local > emulator for the Googl

[go-nuts] Re: help with the Google Pub/Sub Go client API

2021-04-19 Thread 'hong...@google.com' via golang-nuts
Is it possible for you to paste your yaml config file? At first glance, nothing seems to be out of the ordinary, but I'd like to try with the same configuration that you have to see if I missed anything. On Thursday, April 15, 2021 at 3:00:55 AM UTC-7 kortschak wrote: > I am trying to set up a