You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Austin Bennett <wh...@gmail.com> on 2019/12/16 06:13:03 UTC

proto in pubsub

Hi All,

Struggling with reading a proto message from pubsub and writing to
BigQuery in Beam (Direct Runner -- though will then use Dataflow
runner.  Hoping that distinction doesn't make a difference).  Probably
something I'm doing wrong (or not doing) with the proto coder.  The
output (BigQuery) not particularly an issue, as I'm still working on
getting the message properly read.

Anyone have experience/example/tip(s)?  Attempting to do in Python,
but no problem if moving to Go or Java.

Thanks,
Austin

Re: proto in pubsub

Posted by Robert Bradshaw <ro...@google.com>.
Glad to hear it; thanks for following up.

On Mon, Dec 16, 2019 at 3:14 PM Austin Bennett
<wh...@gmail.com> wrote:
>
>   I got my issue sorted out; was user ignorance/error!
>
> Thanks, Robert!  Yes, I see that my slightly cryptic message left much
> to be desired; was getting late-ish my-time after having been trying
> to crack things for several hours; sent it off as calling it a night
> which wasn't quite the right move.  As doesn't leave much for anyone
> to help with, nor to aid with indexing/surfacing info via others'
> future searching.  :-)
>
> Agreed that things work.  I should actually put together a working
> example/demo, as extensive searching didn't yield much usable.
>
>
> On Mon, Dec 16, 2019 at 12:06 PM Robert Bradshaw <ro...@google.com> wrote:
> >
> > This should work. An example of what you're trying to do and what
> > errors/unexpected behavior you're getting would be helpful.
> >
> > On Sun, Dec 15, 2019 at 10:13 PM Austin Bennett
> > <wh...@gmail.com> wrote:
> > >
> > > Hi All,
> > >
> > > Struggling with reading a proto message from pubsub and writing to
> > > BigQuery in Beam (Direct Runner -- though will then use Dataflow
> > > runner.  Hoping that distinction doesn't make a difference).  Probably
> > > something I'm doing wrong (or not doing) with the proto coder.  The
> > > output (BigQuery) not particularly an issue, as I'm still working on
> > > getting the message properly read.
> > >
> > > Anyone have experience/example/tip(s)?  Attempting to do in Python,
> > > but no problem if moving to Go or Java.
> > >
> > > Thanks,
> > > Austin

Re: proto in pubsub

Posted by Austin Bennett <wh...@gmail.com>.
  I got my issue sorted out; was user ignorance/error!

Thanks, Robert!  Yes, I see that my slightly cryptic message left much
to be desired; was getting late-ish my-time after having been trying
to crack things for several hours; sent it off as calling it a night
which wasn't quite the right move.  As doesn't leave much for anyone
to help with, nor to aid with indexing/surfacing info via others'
future searching.  :-)

Agreed that things work.  I should actually put together a working
example/demo, as extensive searching didn't yield much usable.


On Mon, Dec 16, 2019 at 12:06 PM Robert Bradshaw <ro...@google.com> wrote:
>
> This should work. An example of what you're trying to do and what
> errors/unexpected behavior you're getting would be helpful.
>
> On Sun, Dec 15, 2019 at 10:13 PM Austin Bennett
> <wh...@gmail.com> wrote:
> >
> > Hi All,
> >
> > Struggling with reading a proto message from pubsub and writing to
> > BigQuery in Beam (Direct Runner -- though will then use Dataflow
> > runner.  Hoping that distinction doesn't make a difference).  Probably
> > something I'm doing wrong (or not doing) with the proto coder.  The
> > output (BigQuery) not particularly an issue, as I'm still working on
> > getting the message properly read.
> >
> > Anyone have experience/example/tip(s)?  Attempting to do in Python,
> > but no problem if moving to Go or Java.
> >
> > Thanks,
> > Austin

Re: proto in pubsub

Posted by Robert Bradshaw <ro...@google.com>.
This should work. An example of what you're trying to do and what
errors/unexpected behavior you're getting would be helpful.

On Sun, Dec 15, 2019 at 10:13 PM Austin Bennett
<wh...@gmail.com> wrote:
>
> Hi All,
>
> Struggling with reading a proto message from pubsub and writing to
> BigQuery in Beam (Direct Runner -- though will then use Dataflow
> runner.  Hoping that distinction doesn't make a difference).  Probably
> something I'm doing wrong (or not doing) with the proto coder.  The
> output (BigQuery) not particularly an issue, as I'm still working on
> getting the message properly read.
>
> Anyone have experience/example/tip(s)?  Attempting to do in Python,
> but no problem if moving to Go or Java.
>
> Thanks,
> Austin