Class PubsubMessageSchemaCoder

java.lang.Object
org.apache.beam.sdk.io.gcp.pubsub.PubsubMessageSchemaCoder

public class PubsubMessageSchemaCoder extends Object
Provides a SchemaCoder for PubsubMessage, including the topic and all fields of a PubSub message from server.

SchemaCoder is used so that fields can be added in the future without breaking update compatibility. Maintainers should prefer this coder when adding new features to PubsubIO.

  • Constructor Details

    • PubsubMessageSchemaCoder

      public PubsubMessageSchemaCoder()
  • Method Details