Package io.micronaut.gcp.pubsub.support
Class PubSubPublisherState.TopicState
java.lang.Object
io.micronaut.gcp.pubsub.support.PubSubPublisherState.TopicState
- Enclosing class:
- PubSubPublisherState
Internal class to represent Topic State.
-
Constructor Summary
ConstructorDescriptionTopicState
(String contentType, com.google.pubsub.v1.ProjectTopicName projectTopicName, String configurationName, String endpoint, Boolean ordered) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.pubsub.v1.ProjectTopicName
-
Constructor Details
-
TopicState
-
-
Method Details
-
getContentType
- Returns:
- the contentType
-
getProjectTopicName
public com.google.pubsub.v1.ProjectTopicName getProjectTopicName()- Returns:
- the topic name
-
getConfigurationName
- Returns:
- the name of the
PublisherConfigurationProperties
to be used
-
getEndpoint
- Returns:
- the endpoint to be used, or empty for global endpoint
-
getOrdered
- Returns:
- if message ordering should be enabled
-