docs/content/user-guide/en/cap/configuration.mdVoir le fichier
@@ -25,7 +25,7 @@ services.AddCap(capOptions =>
});
```
For specific transport and storage configuration, you can take a look at the configuration options provided by the specific components in the [Transports](../transports/general.md) section and the [Persistent](../persistent/general.md) section.
For specific transport and storage configuration, you can take a look at the configuration options provided by the specific components in the [Transports](../transport/general.md) section and the [Persistent](../storage/general.md) section.
@@ -8,11 +8,11 @@ After CAP receives a message, it sends the message to Transport(RabitMq, Kafka..
When you send message using the `ICapPublisher` interface, CAP will dispatch message to the corresponding Transport. Currently, bulk messaging is not supported.
For more information on transports, see [Transports](../transports/general.md) section.
For more information on transports, see [Transports](../transport/general.md) section.
## Storage
CAP will store the message after receiving it. For more information on storage, see the [Storage](../persistent/general.md) section.
CAP will store the message after receiving it. For more information on storage, see the [Storage](../storage/general.md) section.
## Retry
+ 2- 2
docs/content/user-guide/en/cap/serialization.mdVoir le fichier
@@ -32,9 +32,9 @@ services.AddCap
## Message Adapter (removed in v3.0)
In heterogeneous systems, sometimes you need to communicate with other systems, but other systems use message objects that may be different from CAP's [**Wrapper Object**](../persistent/general.md#_7). This time maybe you need to customize the message wapper.
In heterogeneous systems, sometimes you need to communicate with other systems, but other systems use message objects that may be different from CAP's [**Wrapper Object**](../storage/general.md#_7). This time maybe you need to customize the message wapper.
CAP provides the `IMessagePacker` interface for customizing the [**Wrapper Object**](../persistent/general.md#_7). Custom MessagePacker usually packs and unpacks the `CapMessage` In this process you can add your own business objects.
CAP provides the `IMessagePacker` interface for customizing the [**Wrapper Object**](../storage/general.md#_7). Custom MessagePacker usually packs and unpacks the `CapMessage` In this process you can add your own business objects.
Usage :
+ 41- 1
docs/content/user-guide/en/monitoring/consul.mdVoir le fichier
@@ -1,4 +1,44 @@
# Consul
Consul is a distributed service mesh to connect, secure, and configure services across any runtime platform and public or private cloud.
[Consul](https://www.consul.io/) is a distributed service mesh to connect, secure, and configure services across any runtime platform and public or private cloud.
## Consul Configuration for dashboard
CAP's Dashboard uses Consul as a service discovery to get the data of other nodes, and you can switch to the Servers page to see other nodes.
set ASPNETCORE_HOSTNAME=localhost&& set ASPNETCORE_PORT=5001&& dotnet run --urls=http://localhost:5001 NodeId=1 NodeName=CAP-1 ConnectionString="Server=localhost;Database=aaa;UserId=xxx;Password=xxx;"
set ASPNETCORE_HOSTNAME=localhost&& set ASPNETCORE_PORT=5002&& dotnet run --urls=http://localhost:5002 NodeId=2 NodeName=CAP-2 ConnectionString="Server=localhost;Database=bbb;UserId=xxx;Password=xxx;"
```
+ 0- 3
docs/content/user-guide/en/monitoring/metrics.mdVoir le fichier
@@ -1,3 +0,0 @@
# Metrics
TODO:
docs/content/user-guide/en/persistent/general.md → docs/content/user-guide/en/storage/general.mdVoir le fichier
docs/content/user-guide/en/persistent/in-memory-storage.md → docs/content/user-guide/en/storage/in-memory-storage.mdVoir le fichier
docs/content/user-guide/en/persistent/mongodb.md → docs/content/user-guide/en/storage/mongodb.mdVoir le fichier
docs/content/user-guide/en/persistent/mysql.md → docs/content/user-guide/en/storage/mysql.mdVoir le fichier
docs/content/user-guide/en/persistent/postgresql.md → docs/content/user-guide/en/storage/postgresql.mdVoir le fichier
docs/content/user-guide/en/persistent/sqlserver.md → docs/content/user-guide/en/storage/sqlserver.mdVoir le fichier
docs/content/user-guide/en/transports/aws-sqs.md → docs/content/user-guide/en/transport/aws-sqs.mdVoir le fichier
docs/content/user-guide/en/transports/azure-service-bus.md → docs/content/user-guide/en/transport/azure-service-bus.mdVoir le fichier
docs/content/user-guide/en/transports/general.md → docs/content/user-guide/en/transport/general.mdVoir le fichier
docs/content/user-guide/en/transports/in-memory-queue.md → docs/content/user-guide/en/transport/in-memory-queue.mdVoir le fichier
docs/content/user-guide/en/transports/kafka.md → docs/content/user-guide/en/transport/kafka.mdVoir le fichier
docs/content/user-guide/en/transports/rabbitmq.md → docs/content/user-guide/en/transport/rabbitmq.mdVoir le fichier
set ASPNETCORE_HOSTNAME=localhost&& set ASPNETCORE_PORT=5001&& dotnet run --urls=http://localhost:5001 NodeId=1 NodeName=CAP-1 ConnectionString="Server=localhost;Database=aaa;UserId=xxx;Password=xxx;"
set ASPNETCORE_HOSTNAME=localhost&& set ASPNETCORE_PORT=5002&& dotnet run --urls=http://localhost:5002 NodeId=2 NodeName=CAP-2 ConnectionString="Server=localhost;Database=bbb;UserId=xxx;Password=xxx;"
```
+ 0- 3
docs/content/user-guide/zh/monitoring/metrics.mdVoir le fichier
@@ -1,3 +0,0 @@
# Metrics
TODO:
docs/content/user-guide/zh/persistent/general.md → docs/content/user-guide/zh/storage/general.mdVoir le fichier
docs/content/user-guide/zh/persistent/in-memory-storage.md → docs/content/user-guide/zh/storage/in-memory-storage.mdVoir le fichier
docs/content/user-guide/zh/persistent/mongodb.md → docs/content/user-guide/zh/storage/mongodb.mdVoir le fichier
docs/content/user-guide/zh/persistent/mysql.md → docs/content/user-guide/zh/storage/mysql.mdVoir le fichier
docs/content/user-guide/zh/persistent/postgresql.md → docs/content/user-guide/zh/storage/postgresql.mdVoir le fichier
docs/content/user-guide/zh/persistent/sqlserver.md → docs/content/user-guide/zh/storage/sqlserver.mdVoir le fichier
docs/content/user-guide/zh/transports/aws-sqs.md → docs/content/user-guide/zh/transport/aws-sqs.mdVoir le fichier
docs/content/user-guide/zh/transports/azure-service-bus.md → docs/content/user-guide/zh/transport/azure-service-bus.mdVoir le fichier
docs/content/user-guide/zh/transports/general.md → docs/content/user-guide/zh/transport/general.mdVoir le fichier
docs/content/user-guide/zh/transports/in-memory-queue.md → docs/content/user-guide/zh/transport/in-memory-queue.mdVoir le fichier
docs/content/user-guide/zh/transports/kafka.md → docs/content/user-guide/zh/transport/kafka.mdVoir le fichier
docs/content/user-guide/zh/transports/rabbitmq.md → docs/content/user-guide/zh/transport/rabbitmq.mdVoir le fichier