Interface PublisherFactory

All Known Implementing Classes:
DefaultPublisherFactory

public interface PublisherFactory
The publisher factory interface that can create publishers. Original source at : https://github.com/spring-cloud/spring-cloud-gcp/blob/master/spring-cloud-gcp-pubsub/src/main/java/org/springframework/cloud/gcp/pubsub/support/PublisherFactory.java
Since:
2.0.0
Author:
João André Martins, Chengyuan Zhao, Vinicius Carvalho
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.cloud.pubsub.v1.PublisherInterface
     
  • Method Details

    • createPublisher

      com.google.cloud.pubsub.v1.PublisherInterface createPublisher(PublisherFactoryConfig config)
      Parameters:
      config - A PublisherFactoryConfig with the necessary configuration to create a Publisher
      Returns:
      an Implementation of a PublisherInterface