beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-5253) Go SDK PubSub example currently broken
Date Tue, 11 Sep 2018 11:10:00 GMT


ASF GitHub Bot logged work on BEAM-5253:

                Author: ASF GitHub Bot
            Created on: 11/Sep/18 11:09
            Start Date: 11/Sep/18 11:09
    Worklog Time Spent: 10m 
      Work Description: ptomasroos closed pull request #6357: [BEAM-5253] - Go SDK PubSub
example currently broken

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/go/examples/streaming_wordcap/wordcap.go b/sdks/go/examples/streaming_wordcap/wordcap.go
index 045fb375577..ca3151468f9 100644
--- a/sdks/go/examples/streaming_wordcap/wordcap.go
+++ b/sdks/go/examples/streaming_wordcap/wordcap.go
@@ -50,6 +50,11 @@ var (
+func init() {
+	beam.RegisterFunction(stringx.FromBytes)
+	beam.RegisterFunction(strings.ToUpper)
 func main() {


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 143043)
    Time Spent: 50m  (was: 40m)

> Go SDK PubSub example currently broken
> --------------------------------------
>                 Key: BEAM-5253
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Sean Patrick Hagen
>            Assignee: Robert Burke
>            Priority: Critical
>             Fix For: Not applicable
>          Time Spent: 50m
>  Remaining Estimate: 0h
> The Go SDK contains an example for creating a streaming pipeline that reads from pubsub
and outputs the messages. It can be found here: []
> This example is broken and does not work. It fails with the error "failed to execute
job: translation failed: no root units" when I try to run it with the direct runner, and it
just fails with "Internal Issue (8ed815a0a259018f): 65177287:8503 " when run in Google Dataflow.

This message was sent by Atlassian JIRA

View raw message