Class PubSubResourcesGenerator

java.lang.Object
com.playtika.testcontainer.pubsub.PubSubResourcesGenerator
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class PubSubResourcesGenerator extends Object implements org.springframework.beans.factory.InitializingBean
  • Constructor Details

  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • createSubscription

      public com.google.pubsub.v1.Subscription createSubscription(String topicName, String subscriptionName, TopicAndSubscription.DeadLetter deadLetter)
    • createTopic

      public com.google.pubsub.v1.Topic createTopic(String topicName)
    • createPublisher

      public com.google.cloud.pubsub.v1.Publisher createPublisher(String topicName) throws IOException
      Throws:
      IOException
    • getSubscription

      public com.google.pubsub.v1.Subscription getSubscription(com.google.pubsub.v1.ProjectSubscriptionName projectSubscriptionName)