Skip to content

Commit 3c0d345

Browse files
committed
art1-1
1 parent 8c74289 commit 3c0d345

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

articles/container-apps/java-eureka-server.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ In this tutorial, you learn how to:
2525
2626
## Prerequisites
2727

28-
* An Azure account with an active subscription. If you don't already have one, you can [can create one for free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
29-
* [Azure CLI](/cli/azure/install-azure-cli).
28+
- An Azure account with an active subscription. If you don't already have one, you can [can create one for free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
29+
- [Azure CLI](/cli/azure/install-azure-cli).
3030

3131
## Considerations
3232

@@ -36,7 +36,7 @@ When you run Eureka Server for Spring in Container Apps, be aware of the followi
3636
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
3737
| Scope | The Eureka Server for Spring component runs in the same environment as the connected container app. |
3838
| Scaling | The Eureka Server for Spring component can't scale. The scaling properties `minReplicas` and `maxReplicas` are both set to `1`. To achieve high availability, see [Create a highly available Eureka Service in Container Apps](java-eureka-server-highly-available.md). |
39-
| Resources | The container resource allocation for Eureka Server for Spring is fixed. The number of the CPU cores is 0.5, and the memory size is 1 Gi. |
39+
| Resources | The container resource allocation for Eureka Server for Spring is fixed. The number of the CPU cores is `0.5`, and the memory size is `1 Gi`. |
4040
| Pricing | The Eureka Server for Spring billing falls under consumption-based pricing. Resources consumed by managed Java components are billed at the active/idle rates. You can delete components that are no longer in use to stop billing. |
4141
| Binding | Container apps connect to a Eureka Server for Spring component via a binding. The bindings inject configurations into container app environment variables. After a binding is established, the container app can read the configuration values from environment variables and connect to the Eureka Server for Spring component. |
4242

@@ -284,7 +284,7 @@ az containerapp update \
284284
> To view the dashboard, you need to have at least the `Microsoft.App/managedEnvironments/write` role assigned to your account on the managed environment resource. You can explicitly assign the `Owner` or `Contributor` role on the resource. You can also follow the steps to create a custom role definition and assign it to your account.
285285
286286
> [!NOTE]
287-
> The dashboard isn't available in Azure China 21Vianet.
287+
> The dashboard isn't available in Azure operated by 21Vianet.
288288
289289
1. Create a custom role definition.
290290

@@ -300,7 +300,7 @@ az containerapp update \
300300
}'
301301
```
302302

303-
Make sure to replace the `<SUBSCRIPTION_ID>` placeholder in the `AssignableScopes` value with your subscription ID.
303+
Make sure to replace the `<SUBSCRIPTION_ID>` placeholder in the `AssignableScopes` value with your subscription ID.
304304

305305
1. Assign the custom role to your account on a managed environment resource.
306306

@@ -359,7 +359,7 @@ az group delete --resource-group $RESOURCE_GROUP
359359
The following sections describe the supported configurations. For more information, see [Spring Cloud Eureka Server](https://cloud.spring.io/spring-cloud-netflix/reference/html/#spring-cloud-eureka-server).
360360

361361
> [!NOTE]
362-
> Please submit support tickets for new feature requests.
362+
> You can submit support tickets for new feature requests.
363363
364364
### Configuration options
365365

@@ -369,22 +369,22 @@ The following configuration settings are available on the `eureka.server` config
369369

370370
| Name | Description | Default value |
371371
|-----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
372-
| `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 Eureka Server for Spring Java component](#limitations). | `false` |
372+
| `eureka.server.enable-self-preservation` | When enabled, the server keeps track of the number of renewals it should receive from the server. When 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 Eureka Server for Spring Java component](#limitations). | `false` |
373373
| `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 `eureka.server.enable-self-preservation` is enabled. | `0.85` |
374374
| `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` |
375-
| `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` |
376-
| `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` |
375+
| `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 doesn't work as expected. | `30` |
376+
| `eureka.server.response-cache-auto-expiration-in-seconds` | Gets the time for which the registry payload should be kept in the cache if change events don't invalidate it. | `180` |
377377
| `eureka.server.response-cache-update-interval-ms` | Gets the time interval with which the payload cache of the client should be updated. | `0` |
378378
| `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` |
379379
| `eureka.server.disable-delta` | Checks to see if the delta information can be served to client or not. | `false` |
380380
| `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` |
381-
| `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` |
381+
| `eureka.server.delta-retention-timer-interval-in-ms` | Get the time interval with which the cleanup task should wake up and check for expired delta information. | `0` |
382382
| `eureka.server.eviction-interval-timer-in-ms` | Get the time interval with which the task that expires instances should wake up and run. | `60000` |
383383
| `eureka.server.sync-when-timestamp-differs` | Checks whether to synchronize instances when timestamp differs. | `true` |
384384
| `eureka.server.rate-limiter-enabled` | Indicates whether the rate limiter should be enabled or disabled. | `false` |
385385
| `eureka.server.rate-limiter-burst-size` | Rate limiter, token bucket algorithm property. | `10` |
386386
| `eureka.server.rate-limiter-registry-fetch-average-rate` | Rate limiter, token bucket algorithm property. Specifies the average enforced request rate. | `500` |
387-
| `eureka.server.rate-limiter-privileged-clients` | A list of certified clients. This is in addition to standard eureka Java clients. | `N/A` |
387+
| `eureka.server.rate-limiter-privileged-clients` | A list of certified clients that are in addition to standard eureka Java clients. | `N/A` |
388388
| `eureka.server.rate-limiter-throttle-standard-clients` | Indicate if rate limit standard clients. If set to `false`, only nonstandard clients are rate limited. | `false` |
389389
| `eureka.server.rate-limiter-full-fetch-average-rate` | Rate limiter, token bucket algorithm property. Specifies the average enforced request rate. | `100` |
390390

@@ -476,7 +476,7 @@ Now you have a caller and callee application that communicate with each other us
476476
## Limitations
477477

478478
- The Eureka Server Java component comes with a default configuration, `eureka.server.enable-self-preservation`, set to `false`. This default configuration helps avoid times when instances aren't deleted after self-preservation is enabled. If instances are deleted too early, some requests might be directed to nonexistent instances. If you want to change this setting to `true`, you can overwrite it by setting your own configurations in the Java component.
479-
- The Eureka dashboard isn't available in Azure China 21Vianet.
479+
- The Eureka dashboard isn't available in Azure operated by 21Vianet.
480480

481481
## Next steps
482482

0 commit comments

Comments
 (0)