Class PubSubProducerDestination

java.lang.Object
com.google.cloud.spring.stream.binder.pubsub.provisioning.PubSubProducerDestination
All Implemented Interfaces:
org.springframework.cloud.stream.provisioning.ProducerDestination

public class PubSubProducerDestination extends Object implements org.springframework.cloud.stream.provisioning.ProducerDestination
A producer destination for Pub/Sub.
  • Constructor Details

    • PubSubProducerDestination

      public PubSubProducerDestination(String name)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.springframework.cloud.stream.provisioning.ProducerDestination
    • getNameForPartition

      public String getNameForPartition(int partition)
      Specified by:
      getNameForPartition in interface org.springframework.cloud.stream.provisioning.ProducerDestination