Class PubSubPublisherState.TopicState

java.lang.Object
io.micronaut.gcp.pubsub.support.PubSubPublisherState.TopicState
Enclosing class:
PubSubPublisherState

public static class PubSubPublisherState.TopicState extends Object
Internal class to represent Topic State.
  • Constructor Details

    • TopicState

      public TopicState(String contentType, com.google.pubsub.v1.ProjectTopicName projectTopicName, String configurationName, String endpoint, Boolean ordered)
  • Method Details

    • getContentType

      public String getContentType()
      Returns:
      the contentType
    • getProjectTopicName

      public com.google.pubsub.v1.ProjectTopicName getProjectTopicName()
      Returns:
      the topic name
    • getConfigurationName

      public String getConfigurationName()
      Returns:
      the name of the PublisherConfigurationProperties to be used
    • getEndpoint

      public String getEndpoint()
      Returns:
      the endpoint to be used, or empty for global endpoint
    • getOrdered

      public Boolean getOrdered()
      Returns:
      if message ordering should be enabled