You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/java-config-server-usage.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,27 +71,27 @@ The `az containerapp update` command uses the `--configuration` parameter to con
71
71
72
72
The following table lists the different configuration values available.
73
73
74
-
The following configuration settings are available on the `spring.cloud.config.server.git` configuration property.
75
-
76
-
| Name |Property path |Description |
77
-
|---|---|---|
78
-
|URI |`repos.{repoName}.uri`| URI of remote repository. |
79
-
|Username |`repos.{repoName}.username`| Username for authentication with remote repository. |
80
-
|Password |`repos.{repoName}.password`| Password for authentication with remote repository. |
81
-
|Search paths|`repos.{repoName}.search-paths`| Search paths to use within local working copy. By default searches only the root. |
82
-
|Force pull|`repos.{repoName}.force-pull`| Flag to indicate that the repository should force pull. If this value is set to `true`, then discard any local changes and take from remote repository. |
83
-
|Default label|`repos.{repoName}.default-label`| The default label used for Git is `main`. If you don't set `default-label` and a branch named `main` doesn't exist, then the config server tries to check out a branch named `master`. To disable the fallback branch behavior, you can set `tryMasterBranch` to `false`. |
84
-
|Try `master` branch |`repos.{repoName}.try-master-branch`| When set to `true`, the config server by default tries to check out a branch named `master`. |
85
-
|Skip SSL validation|`repos.{repoName}.skip-ssl-validation`| The configuration server’s validation of the Git server’s SSL certificate can be disabled by setting the `git.skipSslValidation` property to `true`. |
86
-
|Clone-on-start|`repos.{repoName}.clone-on-start`| Flag to indicate that the repository should be cloned on startup (not on demand). Generally leads to slower startup but faster first query. |
87
-
|Timeout |`repos.{repoName}.timeout`| Timeout (in seconds) for obtaining HTTP or SSH connection (if applicable). Default 5 seconds. |
88
-
|Refresh rate|`repos.{repoName}.refresh-rate`| How often the config server fetches updated configuration data from your Git backend. |
89
-
|Private key|`repos.{repoName}.private-key`| Valid SSH private key. Must be set if `ignore-local-ssh-settings` is `true` and Git URI is SSH format. |
90
-
|Host key|`repos.{repoName}.host-key`| Valid SSH host key. Must be set if `host-key-algorithm` is also set. |
91
-
|Host keyalgorithm|`repos.{repoName}.host-key-algorithm`| One of `ssh-dss`, `ssh-rsa`, `ssh-ed25519`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, or `ecdsa-sha2-nistp521`. Must be set if `host-key` is also set. |
92
-
|Strict hostkeychecking|`repos.{repoName}.strict-host-key-checking`|`true` or `false`. If `false`, ignore errors with host key. |
93
-
|Repo location |`repos.{repoName}`| URI of remote repository. |
94
-
|Repo name patterns |`repos.{repoName}.pattern`| The pattern format is a comma-separated list of {application}/{profile} names with wildcards. If {application}/{profile} doesn't match any of the patterns, it uses the default URI defined under. |
74
+
### Git backend configurations
75
+
76
+
| Name | Description |
77
+
|---|---|
78
+
|`spring.cloud.config.server.git.uri` <br/> `spring.cloud.config.server.git.repos.{repoName}.uri`| URI of remote repository. |
79
+
|`spring.cloud.config.server.git.username` <br/> `spring.cloud.config.server.git.repos.{repoName}.username`| Username for authentication with remote repository. |
80
+
|`spring.cloud.config.server.git.password` <br/> `spring.cloud.config.server.git.repos.{repoName}.password`| Password for authentication with remote repository. |
81
+
|`spring.cloud.config.server.git.search-paths` <br/> `spring.cloud.config.server.git.repos.{repoName}.search-paths`| Search paths to use within local working copy. By default searches only the root. |
82
+
|`spring.cloud.config.server.git.force-pull` <br/> `spring.cloud.config.server.git.repos.{repoName}.force-pull`| Flag to indicate that the repository should force pull. If true discard any local changes and take from remote repository. |
83
+
|`spring.cloud.config.server.git.default-label` <br/> `spring.cloud.config.server.git.repos.{repoName}.default-label`| The default label used for Git is main. If you do not set spring.cloud.config.server.git.default-label and a branch named main does not exist, the config server will by default also try to checkout a branch named master. If you would like to disable the fallback branch behavior you can set spring.cloud.config.server.git.tryMasterBranch to false. |
84
+
|`spring.cloud.config.server.git.try-master-branch` <br/> `spring.cloud.config.server.git.repos.{repoName}.try-master-branch`| The config server will by default try to checkout a branch named master. |
85
+
|`spring.cloud.config.server.git.skip-ssl-validation` <br/> `spring.cloud.config.server.git.repos.{repoName}.skip-ssl-validation`| The configuration server’s validation of the Git server’s SSL certificate can be disabled by setting the git.skipSslValidation property to true. |
86
+
|`spring.cloud.config.server.git.clone-on-start` <br/> `spring.cloud.config.server.git.repos.{repoName}.clone-on-start`| Flag to indicate that the repository should be cloned on startup (not on demand). Generally leads to slower startup but faster first query. |
87
+
|`spring.cloud.config.server.git.timeout` <br/> `spring.cloud.config.server.git.repos.{repoName}.timeout`| Timeout (in seconds) for obtaining HTTP or SSH connection (if applicable). Default 5 seconds. |
88
+
|`spring.cloud.config.server.git.refresh-rate` <br/> `spring.cloud.config.server.git.repos.{repoName}.refresh-rate`| How often the config server will fetch updated configuration data from your Git backend. |
89
+
|`spring.cloud.config.server.git.private-key` <br/> `spring.cloud.config.server.git.repos.{repoName}.private-key`| Valid SSH private key. Must be set if ignore-local-ssh-settings is true and Git URI is SSH format. |
90
+
|`spring.cloud.config.server.git.host-key` <br/> `spring.cloud.config.server.git.repos.{repoName}.host-key`| Valid SSH host key. Must be set if host-key-algorithm is also set.|
91
+
|`spring.cloud.config.server.git.host-key-algorithm` <br/> `spring.cloud.config.server.git.repos.{repoName}.host-key-algorithm`| One of ssh-dss, ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521. Must be set if host-key is also set. |
92
+
|`spring.cloud.config.server.git.strict-host-key-checking` <br/> `spring.cloud.config.server.git.repos.{repoName}.strict-host-key-checking`|true or false. If false, ignore errors with host key. |
93
+
|`spring.cloud.config.server.git.repos.{repoName}`| URI of remote repository. |
94
+
|`spring.cloud.config.server.git.repos.{repoName}.pattern`| The pattern format is a comma-separated list of {application}/{profile} names with wildcards. If {application}/{profile} does not match any of the patterns, it uses the default URI defined under. |
Copy file name to clipboardExpand all lines: articles/container-apps/java-eureka-server-usage.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,26 +64,26 @@ The `az containerapp update` command uses the `--configuration` parameter to con
64
64
65
65
The following configuration settings are available on the `eureka.server` configuration property.
66
66
67
-
| Name | Description | Default Value|
67
+
| Name | Description | Default value |
68
68
|--|--|--|
69
-
|`enable-self-preservation`| When enabled, the server keeps track of the number of renewals it should receive from the server. Anytime, the number of renewals drops below the threshold percentage as defined by `renewal-percent-threshold`. The default value is set to `true` in the original Eureka server, but in the Eureka Server Java component, the default value is set to `false`. See [Limitations of Spring Cloud Eureka Java component](#limitations)|`false`|
70
-
|`renewal-percent-threshold`| The minimum percentage of renewals expected from the clients in the period specified by `renewal-threshold-update-interval-ms`. If renewals drop below the threshold, expirations are disabled when `enable-self-preservation` is enabled. |`0.85`|
71
-
|`renewal-threshold-update-interval-ms`| The interval at which the threshold as specified in `renewal-percent-threshold` is updated. |`0`|
72
-
|`expected-client-renewal-interval-seconds`| The interval at which clients are expected to send their heartbeats. The default value is to `30` seconds. If clients send heartbeats at a different frequency, make this value match the sending frequency to ensure self-preservation works as expected. |`30`|
73
-
|`response-cache-auto-expiration-in-seconds`| Gets the time the registry payload is kept in the cache when not invalidated by change events. |`180`|
74
-
|`response-cache-update-interval-ms`| Gets the time interval the payload cache of the client is updated.|`0`|
75
-
|`use-read-only-response-cache`| The `com.netflix.eureka.registry.ResponseCache`uses a two level caching strategy to responses. A `readWrite` cache with an expiration policy, and a `readonly` cache that caches without expiry.|`true`|
76
-
|`disable-delta`| Checks to see if the delta information is served to client or not. |`false`|
77
-
|`retention-time-in-m-s-in-delta-queue`| Gets the time delta information is cached for the clients to retrieve the value without missing it.|`0`|
78
-
|`delta-retention-timer-interval-in-ms`| Get the time interval the cleanup task wakes up to check for expired delta information. |`0`|
79
-
|`eviction-interval-timer-in-ms`|Gets the time interval the task that expires instances wakes up and runs.|`60000`|
80
-
|`sync-when-timestamp-differs`| Checks whether to synchronize instances when timestamp differs. |`true`|
81
-
|`rate-limiter-enabled`| Indicates whether the rate limiter is enabled or disabled. |`false`|
|`rate-limiter-registry-fetch-average-rate`| The rate limiter, token bucket algorithm property. Specifies the average enforced request rate. |`500`|
84
-
|`rate-limiter-privileged-clients`|List of certified clientsis in addition to standard Eureka Java clients. | N/A |
85
-
|`rate-limiter-throttle-standard-clients`|Indicates if rate limit standard clients. If set to `false`, only nonstandard clients are rate limited. |`false`|
86
-
|`rate-limiter-full-fetch-average-rate`| Rate limiter, token bucket algorithm property. Specifies the average enforced request rate. |`100`|
69
+
|`eureka.server.enable-self-preservation`| When enabled, the server keeps track of the number of renewals it should receive from the server. Any time, the number of renewals drops below the threshold percentage as defined by eureka.server.renewal-percent-threshold. The default value is set to `true` in the original Eureka server, but in the Eureka Server Java component, the default value is set to `false`. See [Limitations of Spring Cloud Eureka Java component](#limitations)| false |
70
+
|`eureka.server.renewal-percent-threshold`| The minimum percentage of renewals that is expected from the clients in the period specified by eureka.server.renewal-threshold-update-interval-ms. If the renewals drop below the threshold, the expirations are disabled if the eureka.server.enable-self-preservation is enabled. | 0.85 |
71
+
|`eureka.server.renewal-threshold-update-interval-ms`| The interval with which the threshold as specified in eureka.server.renewal-percent-threshold needs to be updated. |0|
72
+
|`eureka.server.expected-client-renewal-interval-seconds`| The interval with which clients are expected to send their heartbeats. Defaults to 30 seconds. If clients send heartbeats with different frequency, say, every 15 seconds, then this parameter should be tuned accordingly, otherwise, self-preservation won't work as expected. |30|
73
+
|`eureka.server.response-cache-auto-expiration-in-seconds`| Gets the time for which the registry payload should be kept in the cache if it is not invalidated by change events. | 180|
74
+
|`eureka.server.response-cache-update-interval-ms`| Gets the time interval with which the payload cache of the client should be updated.|0|
75
+
|`eureka.server.use-read-only-response-cache`| The com.netflix.eureka.registry.ResponseCache currently uses a two level caching strategy to responses. A readWrite cache with an expiration policy, and a readonly cache that caches without expiry.| true |
76
+
|`eureka.server.disable-delta`| Checks to see if the delta information can be served to client or not. | false |
77
+
|`eureka.server.retention-time-in-m-s-in-delta-queue`| Get the time for which the delta information should be cached for the clients to retrieve the value without missing it.| 0|
78
+
|`eureka.server.delta-retention-timer-interval-in-ms`| Get the time interval with which the clean up task should wake up and check for expired delta information. |0|
79
+
|`eureka.server.eviction-interval-timer-in-ms`|Get the time interval with which the task that expires instances should wake up and run.| 60000|
80
+
|`eureka.server.sync-when-timestamp-differs`| Checks whether to synchronize instances when timestamp differs. | true |
81
+
|`eureka.server.rate-limiter-enabled`| Indicates whether the rate limiter should be enabled or disabled. | false |
|`eureka.server.rate-limiter-registry-fetch-average-rate`| Rate limiter, token bucket algorithm property. Specifies the average enforced request rate. | 500 |
84
+
|`eureka.server.rate-limiter-privileged-clients`|A list of certified clients. This is in addition to standard eureka Java clients. | N/A |
85
+
|`eureka.server.rate-limiter-throttle-standard-clients`|Indicate if rate limit standard clients. If set to false, only non standard clients will be rate limited. | false |
86
+
|`eureka.server.rate-limiter-full-fetch-average-rate`| Rate limiter, token bucket algorithm property. Specifies the average enforced request rate. | 100 |
0 commit comments