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
Modifier and TypeMethodDescriptioncom.google.cloud.pubsub.v1.PublisherInterface
-
Method Details
-
createPublisher
- Parameters:
config
- APublisherFactoryConfig
with the necessary configuration to create aPublisher
- Returns:
- an Implementation of a
PublisherInterface
-