Skip to main content

Experiment Configs

These are the experimentation configs used in Courier library. These are volatile configs i.e., they can be modified/moved/removed in future.

  • isPersistentSubscriptionStoreEnabled : When enabled, PersistableSubscriptionStore implementation of SubscriptionStore is used. Otherwise, InMemorySubscriptionStore is used. Read more about SubscriptionStore

  • adaptiveKeepAliveConfig : This config is used for enabling Adaptive KeepAlive feature in courier library.

  • activityCheckIntervalSeconds : Interval at which channel activity is checked for unacknowledged MQTT packets.

  • inactivityTimeoutSeconds : When acknowledgement for an MQTT packet is not received within this interval, the connection is reestablished.

  • policyResetTimeSeconds : After this interval, connect retry policy is reset once the connection is successfully made.

  • incomingMessagesTTLSecs : When there is no listener attached for an incoming message, messages are persisted for this interval.

  • incomingMessagesCleanupIntervalSecs : Interval at which cleanup for incoming messages persistence is performed.

  • shouldUseNewSSLFlow : Set this true for enabling alpn protocol, custom ssl socket factory.