Class PubSubManager


  • @Singleton
    public class PubSubManager
    extends Object
    • Constructor Detail

      • PubSubManager

        public PubSubManager()
    • Method Detail

      • publisher

        public com.google.cloud.pubsub.v1.Publisher publisher​(PubSubConfig config)
      • subscriber

        public void subscriber​(PubSubConfig config,
                               io.smallrye.mutiny.subscription.MultiEmitter<? super Message<?>> emitter)
      • subscriptionAdminClient

        public com.google.cloud.pubsub.v1.SubscriptionAdminClient subscriptionAdminClient​(PubSubConfig config)
      • topicAdminClient

        public com.google.cloud.pubsub.v1.TopicAdminClient topicAdminClient​(PubSubConfig config)
      • destroy

        @PreDestroy
        public void destroy()