Micronaut GCP Configuration Reference
Every documented configuration property of Micronaut GCP, with types, descriptions, and defaults.
60 properties across 4 sections
Micronaut Gcp Common Config Properties
Configuration properties for GoogleCloudConfiguration
| Property | Type | Description |
|---|---|---|
gcp.project-id | java.lang.String | Sets the project id to use. |
Configuration properties for GoogleCredentialsConfiguration
| Property | Type | Description |
|---|---|---|
gcp.credentials.scopes | java.util.List | The default scopes to associate with the application to access specific APIs. See <a href="https://developers.google.com/identity/protocols/googlescopes">Google Scopes</a> for a complete list. Leave this empty if you don’t need additional API access. |
gcp.credentials.location | java.lang.String | Sets the location to the service account credential key file. |
gcp.credentials.encoded-key | java.lang.String | Sets the Base64 encoded service account key content.. |
gcp.credentials.enabled | boolean | Allows disabling Google credentials configuration. This may be useful in situations where you don’t want to authenticate despite having the Google Cloud SDK configured. Default value is true. |
gcp.credentials.use-http-client | boolean | Allows disabling use of the {@link HttpClient} based transport for retrieving authentication tokens. Default value is true. |
Configuration properties for GoogleComputeMetadataConfiguration
| Property | Type | Description |
|---|---|---|
micronaut.application.gcp.metadata.enabled | boolean | Default value (true). |
micronaut.application.gcp.metadata.metadata-url | java.lang.String | Default value ("http://metadata.google.internal/computeMetadata/v1/project/"). |
micronaut.application.gcp.metadata.project-metadata-url | java.lang.String | Default value ("http://metadata.google.internal/project/v1/project/"). |
micronaut.application.gcp.metadata.read-timeout | java.time.Duration | Default value (5 seconds). |
micronaut.application.gcp.metadata.connect-timeout | java.time.Duration | Default value (2). |
Micronaut Gcp Http Client Config Properties
Configuration properties for GoogleAuthServiceConfig
| Property | Type | Description |
|---|---|---|
gcp.http.client.auth.services.*.audience | java.lang.String | the desired audience |
Micronaut Gcp Pubsub Config Properties
Configuration properties for PubSubConfigurationProperties
| Property | Type | Description |
|---|---|---|
gcp.pubsub.publishing-executor | java.lang.String | the name of the publishing executor |
gcp.pubsub.subscribing-executor | java.lang.String | the name of the subscribing executor |
gcp.pubsub.keep-alive-interval-minutes | int | How often to ping the server to keep the channel alive. Default: 5 minutes. |
gcp.pubsub.topic-endpoint | java.lang.String | endpoint |
gcp.pubsub.nack-on-shutdown | boolean | nack on shutdown configuration |
Configuration properties for PublisherConfigurationProperties
| Property | Type | Description |
|---|---|---|
gcp.pubsub.publisher.*.executor | java.lang.String | executor name |
Configuration properties for BatchingSettings$Builder
| Property | Type | Description |
|---|---|---|
gcp.pubsub.publisher.*.batching.element-count-threshold | java.lang.Long | |
gcp.pubsub.publisher.*.batching.request-byte-threshold | java.lang.Long | |
gcp.pubsub.publisher.*.batching.delay-threshold | org.threeten.bp.Duration | |
gcp.pubsub.publisher.*.batching.delay-threshold-duration | java.time.Duration | |
gcp.pubsub.publisher.*.batching.is-enabled | java.lang.Boolean | |
gcp.pubsub.publisher.*.batching.flow-control-settings | com.google.api.gax.batching.FlowControlSettings |
Configuration properties for FlowControlSettings$Builder
| Property | Type | Description |
|---|---|---|
gcp.pubsub.subscriber.*.flow-control.max-outstanding-element-count | java.lang.Long | |
gcp.pubsub.subscriber.*.flow-control.max-outstanding-request-bytes | java.lang.Long | |
gcp.pubsub.subscriber.*.flow-control.limit-exceeded-behavior | com.google.api.gax.batching.FlowController$LimitExceededBehavior | |
gcp.pubsub.publisher.*.flow-control.max-outstanding-element-count | java.lang.Long | |
gcp.pubsub.publisher.*.flow-control.max-outstanding-request-bytes | java.lang.Long | |
gcp.pubsub.publisher.*.flow-control.limit-exceeded-behavior | com.google.api.gax.batching.FlowController$LimitExceededBehavior |
Configuration properties for RetrySettings$Builder
| Property | Type | Description |
|---|---|---|
gcp.pubsub.publisher.*.retry.total-timeout | org.threeten.bp.Duration | |
gcp.pubsub.publisher.*.retry.total-timeout-duration | java.time.Duration | |
gcp.pubsub.publisher.*.retry.initial-retry-delay | org.threeten.bp.Duration | |
gcp.pubsub.publisher.*.retry.initial-retry-delay-duration | java.time.Duration | |
gcp.pubsub.publisher.*.retry.retry-delay-multiplier | double | |
gcp.pubsub.publisher.*.retry.max-retry-delay | org.threeten.bp.Duration | |
gcp.pubsub.publisher.*.retry.max-retry-delay-duration | java.time.Duration | |
gcp.pubsub.publisher.*.retry.max-attempts | int | |
gcp.pubsub.publisher.*.retry.initial-rpc-timeout | org.threeten.bp.Duration | |
gcp.pubsub.publisher.*.retry.initial-rpc-timeout-duration | java.time.Duration | |
gcp.pubsub.publisher.*.retry.rpc-timeout-multiplier | double | |
gcp.pubsub.publisher.*.retry.max-rpc-timeout | org.threeten.bp.Duration | |
gcp.pubsub.publisher.*.retry.max-rpc-timeout-duration | java.time.Duration | |
gcp.pubsub.publisher.*.retry.logical-timeout | org.threeten.bp.Duration |
Configuration properties for PubSubPushConfigurationProperties
| Property | Type | Description |
|---|---|---|
gcp.pubsub.push.enabled | boolean | Enables {@link PushController}. Default value true |
gcp.pubsub.push.path | java.lang.String | Configures the path to the {@link PushController}. Default value "/push" |
Configuration properties for SubscriberConfigurationProperties
| Property | Type | Description |
|---|---|---|
gcp.pubsub.subscriber.*.parallel-pull-count | java.lang.Integer | number of concurrent pulls |
gcp.pubsub.subscriber.*.max-ack-extension-period | org.threeten.bp.Duration | Set the maximum period a message ack deadline will be extended. Defaults to one hour. |
gcp.pubsub.subscriber.*.max-duration-per-ack-extension | org.threeten.bp.Duration | Set the upper bound for a single mod ack extention period. <p>The ack deadline will continue to be extended by up to this duration until MaxAckExtensionPeriod is reached. Setting MaxDurationPerAckExtension bounds the maximum amount of time before a mesage re-delivery in the event the Subscriber fails to extend the deadline. <p>MaxDurationPerAckExtension configuration can be disabled by specifying a zero duration. |
gcp.pubsub.subscriber.*.executor | java.lang.String | executor name |
Configuration properties for FlowControlSettings$Builder
| Property | Type | Description |
|---|---|---|
gcp.pubsub.subscriber.*.flow-control.max-outstanding-element-count | java.lang.Long | |
gcp.pubsub.subscriber.*.flow-control.max-outstanding-request-bytes | java.lang.Long | |
gcp.pubsub.subscriber.*.flow-control.limit-exceeded-behavior | com.google.api.gax.batching.FlowController$LimitExceededBehavior | |
gcp.pubsub.publisher.*.flow-control.max-outstanding-element-count | java.lang.Long | |
gcp.pubsub.publisher.*.flow-control.max-outstanding-request-bytes | java.lang.Long | |
gcp.pubsub.publisher.*.flow-control.limit-exceeded-behavior | com.google.api.gax.batching.FlowController$LimitExceededBehavior |
Micronaut Gcp Secret Manager Config Properties
Configuration properties for SecretManagerConfigurationProperties
| Property | Type | Description |
|---|---|---|
gcp.secret-manager.custom-configs | java.util.Set | Custom config files to be included as property sources. |
gcp.secret-manager.keys | java.util.Set | Set of secrets to be loaded |
gcp.secret-manager.default-config-enabled | boolean | Whether to load the default config files. |
gcp.secret-manager.location | java.lang.String | Location of the regional secrets |
No properties match this filter.