@ddd-ts-kit/kafka 0.26.0 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.fr.md +4 -1
- package/README.md +3 -0
- package/package.json +4 -4
package/README.fr.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](README.md) · **Français**
|
|
2
|
-
<!-- translation-of: README.md sha256:
|
|
2
|
+
<!-- translation-of: README.md sha256:191731b3db98cd17 -->
|
|
3
3
|
|
|
4
4
|
# @ddd-ts-kit/kafka
|
|
5
5
|
|
|
@@ -557,6 +557,9 @@ DDD_TS_KIT_TEST_KAFKA_BROKERS=127.0.0.1:9092 DDD_TS_KIT_TEST_KAFKA_RELAY=127.0.0
|
|
|
557
557
|
docker rm -f ddd-ts-kit-test-kafka
|
|
558
558
|
```
|
|
559
559
|
|
|
560
|
+
Le *job* d'intégration de la CI les exécute sur chaque *pull request* qui atteint ce *package*,
|
|
561
|
+
contre Apache Kafka 4.3.1 en mode KRaft, avec son écouteur relayé que démarre `pipeline/github/scripts/start-kafka.sh`, son image épinglée par *digest*.
|
|
562
|
+
|
|
560
563
|
Un client Kafka se connecte aux adresses que le *broker* annonce : on ne peut donc pas provoquer
|
|
561
564
|
une panne réseau en pointant le bus vers un relais réseau. Le *broker* a un second écouteur,
|
|
562
565
|
`RELAYED`, qui annonce `127.0.0.1:9095`, où les tests écoutent et relaient vers le port qui se
|
package/README.md
CHANGED
|
@@ -527,6 +527,9 @@ DDD_TS_KIT_TEST_KAFKA_BROKERS=127.0.0.1:9092 DDD_TS_KIT_TEST_KAFKA_RELAY=127.0.0
|
|
|
527
527
|
docker rm -f ddd-ts-kit-test-kafka
|
|
528
528
|
```
|
|
529
529
|
|
|
530
|
+
The integration job of the CI runs them on every pull request that reaches this package,
|
|
531
|
+
against Apache Kafka 4.3.1 in KRaft mode, with its relayed listener that `pipeline/github/scripts/start-kafka.sh` starts, its image pinned by digest.
|
|
532
|
+
|
|
530
533
|
A Kafka client connects to the addresses the broker advertises, so a network failure cannot
|
|
531
534
|
be produced by pointing the bus at a relay: the broker has a second listener, `RELAYED`,
|
|
532
535
|
that advertises `127.0.0.1:9095`, where the tests listen and relay to the port behind it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/kafka",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.82.0",
|
|
4
4
|
"description": "Kafka provider for integration events: idempotent keyed publishing for the outbox relay, one consumer group per consumer, offsets committed after handling, bounded retries and a dead-letter topic.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@ddd-ts-kit/events": "0.
|
|
42
|
-
"@ddd-ts-kit/kernel": "0.
|
|
41
|
+
"@ddd-ts-kit/events": "0.82.0",
|
|
42
|
+
"@ddd-ts-kit/kernel": "0.82.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@confluentinc/kafka-javascript": "^1.11.0",
|
|
46
|
-
"@ddd-ts-kit/testing": "0.
|
|
46
|
+
"@ddd-ts-kit/testing": "0.82.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@confluentinc/kafka-javascript": ">=1.11.0 <2"
|