David Rieber created BEAM-7573:
----------------------------------

             Summary: beam PubsubIO sink to /topics/dev/null is broken
                 Key: BEAM-7573
                 URL: https://issues.apache.org/jira/browse/BEAM-7573
             Project: Beam
          Issue Type: Bug
          Components: io-java-gcp
            Reporter: David Rieber


An attempt to write to topic /topics/dev/null results in a pipeline error:

Exception in thread "main" java.lang.IllegalStateException: Malformed topic 
path projects//topics//topics/dev/null
        at 
com.google.common.base.Preconditions.checkState(Preconditions.java:518)
        at 
org.apache.beam.sdk.io.gcp.pubsub.PubsubClient$TopicPath.getV1Beta1Path(PubsubClient.java:264)
        at 
org.apache.beam.runners.dataflow.DataflowRunner$StreamingPubsubIOWriteTranslator.translate(DataflowRunner.java:1152)

However, the beam PubsubIO sources imply this should work: search for 
TOPIC_DEV_NULL_TEST_NAME.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to