Package io.micronaut.gcp.pubsub.support
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.cloud.pubsub.v1.PublisherInterface
createPublisher(PublisherFactoryConfig config)
-
-
-
Method Detail
-
createPublisher
com.google.cloud.pubsub.v1.PublisherInterface createPublisher(PublisherFactoryConfig config)
- Parameters:
config
- APublisherFactoryConfig
with the necessary configuration to create aPublisher
- Returns:
- an Implementation of a
PublisherInterface
-
-