Skip to content

Commit 1badd18

Browse files
l4mbymagne
andauthored
wip: readme enrichment (#268)
Co-authored-by: magne <[email protected]>
1 parent b97db24 commit 1badd18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ const client = await connect({
7979
await client.close()
8080
```
8181

82+
When the user calls the connect function a connection to the server is created. In the case that the user creates a publisher and a consumer,
83+
two new connections are opened, one for publishers and one for consumers. In particular the connection for publishers is created on the leader node and not on the replicas.
84+
If the number of connections exceeds a predefined threshold the user won't be able to create new connections.
85+
8286
### Connect through TLS/SSL
8387

8488
```typescript
@@ -440,7 +444,7 @@ cd example
440444
npm i
441445
```
442446

443-
run the docker-compose to launch a rabbit instance already stream enabled
447+
run the make command to launch a rabbit instance already stream enabled
444448

445449
```shell
446450
make rabbitmq-test

0 commit comments

Comments
 (0)