Class PubSubConfigurationProperties


  • @ConfigurationProperties("gcp.pubsub")
    public class PubSubConfigurationProperties
    extends java.lang.Object
    Configuration properties for PubSub support.
    Since:
    2.0.0
    Author:
    Vinicius Carvalho
    • Constructor Detail

      • PubSubConfigurationProperties

        public PubSubConfigurationProperties()
    • Method Detail

      • getPublishingExecutor

        public java.lang.String getPublishingExecutor()
        Returns:
        the name of the ScheduledExecutorService to be used by all Publisher instances. Default: "scheduled"
      • setPublishingExecutor

        public void setPublishingExecutor​(java.lang.String publishingExecutor)
        Parameters:
        publishingExecutor - Name of the ScheduledExecutorService to be used by all Publisher instances. Default: "scheduled"
      • getSubscribingExecutor

        public java.lang.String getSubscribingExecutor()
        Returns:
        the name of the ScheduledExecutorService to be used by all Subscriber instances. Default: "scheduled" Defaults to "scheduled"
      • setSubscribingExecutor

        public void setSubscribingExecutor​(java.lang.String subscribingExecutor)
        Parameters:
        subscribingExecutor - Name of the ScheduledExecutorService to be used by all Subscriber instances. Default: "scheduled"
      • getKeepAliveIntervalMinutes

        public int getKeepAliveIntervalMinutes()
        How often to ping the server to keep the channel alive. Defaults to 5 minutes.
        Returns:
        interval
      • setKeepAliveIntervalMinutes

        public void setKeepAliveIntervalMinutes​(int keepAliveIntervalMinutes)
        How often to ping the server to keep the channel alive. Default: 5 minutes.
        Parameters:
        keepAliveIntervalMinutes -