@ddd-ts-kit/kafka 0.83.2 → 0.83.4

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  [English](README.md) · **Français**
2
- <!-- translation-of: README.md sha256:191731b3db98cd17 -->
2
+ <!-- translation-of: README.md sha256:6fadafd3b09723c8 -->
3
3
 
4
4
  # @ddd-ts-kit/kafka
5
5
 
@@ -52,6 +52,12 @@ Ce que cela demande à la CI et aux images :
52
52
  - rien d'autre n'est nécessaire à l'exécution : le binaire n'est lié qu'à la libc et à
53
53
  libstdc++.
54
54
 
55
+ Le bus construit son producteur, ses consommateurs et son client d'administration à partir
56
+ d'un `KafkaJS.Kafka` qu'il fait de `brokers` et de `client`. Une application qui configure ou
57
+ instrumente ce client elle-même le lui donne en `cluster`, et le bus ne lit alors ni `brokers`
58
+ ni `client` ; il déconnecte les clients qu'il construit, jamais celui qu'on lui a donné. Les
59
+ *specs* de ce *package* lui donnent ainsi un cluster tenu en mémoire (voir Tester).
60
+
55
61
  ## Racine de composition
56
62
 
57
63
  Les gestionnaires ne voient jamais ce *package*. Ils publient vers l'outbox ; le relais publie
@@ -549,7 +555,15 @@ tourner. Kafka est celui à choisir quand l'ordre des événements d'un agrégat
549
555
 
550
556
  ## Tester
551
557
 
552
- Les suites demandent un vrai *broker* et sont sautées sans `DDD_TS_KIT_TEST_KAFKA_BROKERS` :
558
+ Toutes les suites tournent dans les tests unitaires, sans *broker* : le bus reçoit, par son
559
+ option `cluster`, un cluster Kafka tenu en mémoire (`test/support/cluster/`), qui implémente les
560
+ interfaces KafkaJS du client et garde ce dont le bus dépend (*topics* partitionnés, une clé
561
+ toujours sur la même partition, groupes de consommateurs qui se répartissent leurs partitions à
562
+ chaque arrivée et départ en prévenant le *callback* de rééquilibrage, *offsets* commités,
563
+ `eachMessage` relu après une erreur, partitions en pause, acquittements qui expirent en
564
+ `ERR__MSG_TIMED_OUT`, un *topic* listé un instant après sa création, un réseau que le test
565
+ sabote). Avec `DDD_TS_KIT_TEST_KAFKA_BROKERS`, les mêmes suites tournent une seconde fois contre
566
+ un vrai *broker*, ce qui garde celui en mémoire fidèle :
553
567
 
554
568
  ```
555
569
  docker run -d --rm --name ddd-ts-kit-test-kafka -p 127.0.0.1:9092:9092 -p 127.0.0.1:9094:9094 -e KAFKA_NODE_ID=1 -e KAFKA_PROCESS_ROLES=broker,controller -e KAFKA_LISTENERS=PLAINTEXT://:9092,RELAYED://:9094,CONTROLLER://:9093 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092,RELAYED://127.0.0.1:9095 -e KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,RELAYED:PLAINTEXT -e KAFKA_CONTROLLER_QUORUM_VOTERS=1@localhost:9093 -e KAFKA_CONTROLLER_LISTENER_NAMES=CONTROLLER -e KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT -e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 -e KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR=1 -e KAFKA_TRANSACTION_STATE_LOG_MIN_ISR=1 -e KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0 apache/kafka:4.3.1
@@ -557,14 +571,14 @@ DDD_TS_KIT_TEST_KAFKA_BROKERS=127.0.0.1:9092 DDD_TS_KIT_TEST_KAFKA_RELAY=127.0.0
557
571
  docker rm -f ddd-ts-kit-test-kafka
558
572
  ```
559
573
 
560
- Le *job* d'intégration de la CI les exécute sur chaque *pull request* qui atteint ce *package*,
574
+ Le *job* d'intégration de la CI les exécute contre un vrai *broker* sur chaque *pull request* qui atteint ce *package*,
561
575
  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
576
 
563
577
  Un client Kafka se connecte aux adresses que le *broker* annonce : on ne peut donc pas provoquer
564
578
  une panne réseau en pointant le bus vers un relais réseau. Le *broker* a un second écouteur,
565
579
  `RELAYED`, qui annonce `127.0.0.1:9095`, où les tests écoutent et relaient vers le port qui se
566
580
  trouve derrière (9094). `DDD_TS_KIT_TEST_KAFKA_RELAY` donne les deux adresses ; sans elle, les
567
- trois tests de panne réseau sont sautés et le reste s'exécute.
581
+ tests de panne réseau ne tournent que sur le cluster en mémoire.
568
582
 
569
583
  Ils exécutent la suite de contrat sur des *topics* d'une et de trois partitions, puis les
570
584
  comportements de ce fournisseur, une suite par comportement (`publishing`, `consuming`,
package/README.md CHANGED
@@ -46,6 +46,12 @@ What it asks of CI and of images:
46
46
  on Alpine;
47
47
  - nothing else is needed at run time: the binary links only to libc and libstdc++.
48
48
 
49
+ The bus builds its producer, consumers and admin from a `KafkaJS.Kafka` it makes of `brokers`
50
+ and `client`. An application that configures or instruments that client itself hands it over
51
+ as `cluster`, and the bus then reads neither `brokers` nor `client`; it disconnects the clients
52
+ it builds, never the one it was given. The specs of this package give it a cluster held in
53
+ memory that way (see Testing).
54
+
49
55
  ## Composition root
50
56
 
51
57
  Handlers never see this package. They publish to the outbox; the relay publishes to Kafka;
@@ -519,7 +525,15 @@ when the order of the events of an aggregate matters.
519
525
 
520
526
  ## Testing
521
527
 
522
- The suites need a real broker and are skipped without `DDD_TS_KIT_TEST_KAFKA_BROKERS`:
528
+ Every suite runs in the unit run, without a broker: the bus is given, through its `cluster`
529
+ option, a Kafka cluster held in memory (`test/support/cluster/`), which implements the KafkaJS
530
+ interfaces of the client and keeps what the bus relies on (partitioned topics, a key always on
531
+ one partition, consumer groups sharing their partitions out at each join and leave with the
532
+ rebalance callback told, committed offsets, `eachMessage` read again after it threw, paused
533
+ partitions, acknowledgements that time out with `ERR__MSG_TIMED_OUT`, a topic listed a moment
534
+ after its creation, a network the test sabotages). With `DDD_TS_KIT_TEST_KAFKA_BROKERS`, the
535
+ same suites run a second time against a real broker, which is what keeps the in-memory one
536
+ honest:
523
537
 
524
538
  ```
525
539
  docker run -d --rm --name ddd-ts-kit-test-kafka -p 127.0.0.1:9092:9092 -p 127.0.0.1:9094:9094 -e KAFKA_NODE_ID=1 -e KAFKA_PROCESS_ROLES=broker,controller -e KAFKA_LISTENERS=PLAINTEXT://:9092,RELAYED://:9094,CONTROLLER://:9093 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092,RELAYED://127.0.0.1:9095 -e KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,RELAYED:PLAINTEXT -e KAFKA_CONTROLLER_QUORUM_VOTERS=1@localhost:9093 -e KAFKA_CONTROLLER_LISTENER_NAMES=CONTROLLER -e KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT -e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 -e KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR=1 -e KAFKA_TRANSACTION_STATE_LOG_MIN_ISR=1 -e KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0 apache/kafka:4.3.1
@@ -527,14 +541,14 @@ DDD_TS_KIT_TEST_KAFKA_BROKERS=127.0.0.1:9092 DDD_TS_KIT_TEST_KAFKA_RELAY=127.0.0
527
541
  docker rm -f ddd-ts-kit-test-kafka
528
542
  ```
529
543
 
530
- The integration job of the CI runs them on every pull request that reaches this package,
544
+ The integration job of the CI runs them against a real broker on every pull request that reaches this package,
531
545
  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
546
 
533
547
  A Kafka client connects to the addresses the broker advertises, so a network failure cannot
534
548
  be produced by pointing the bus at a relay: the broker has a second listener, `RELAYED`,
535
549
  that advertises `127.0.0.1:9095`, where the tests listen and relay to the port behind it
536
- (9094). `DDD_TS_KIT_TEST_KAFKA_RELAY` gives both addresses; without it the three network
537
- failure tests are skipped and the rest runs.
550
+ (9094). `DDD_TS_KIT_TEST_KAFKA_RELAY` gives both addresses; without it the network failure
551
+ tests run on the in-memory cluster only.
538
552
 
539
553
  They run the contract suite on topics of one and of three partitions, then the behaviours of
540
554
  this provider, one suite per behaviour (`publishing`, `consuming`, `correlation`, `retries`
@@ -1,8 +1,9 @@
1
1
  import { KafkaJS } from '@confluentinc/kafka-javascript';
2
2
  import type { KafkaEventBusOptions } from '../options/kafka-event-bus-options.js';
3
3
  /**
4
- * The factory of the clients of a bus. The librdkafka properties carry the SASL password and
5
- * the TLS keys: they go to the client library here, and the bus keeps them nowhere.
4
+ * The factory of the clients of a bus: the one the options give, or one made of the brokers and
5
+ * the client properties. The librdkafka properties carry the SASL password and the TLS keys: they
6
+ * go to the client library here, and the bus keeps them nowhere.
6
7
  */
7
- export declare function clusterOf({ brokers, client }: Pick<KafkaEventBusOptions, 'brokers' | 'client'>): KafkaJS.Kafka;
8
+ export declare function clusterOf({ brokers, client, cluster, }: Pick<KafkaEventBusOptions, 'brokers' | 'client' | 'cluster'>): KafkaJS.Kafka;
8
9
  //# sourceMappingURL=cluster-of.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cluster-of.d.ts","sourceRoot":"","sources":["../../src/connection/cluster-of.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAElF;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,QAAQ,CAAC,GAAG,OAAO,CAAC,KAAK,CAM9G"}
1
+ {"version":3,"file":"cluster-of.d.ts","sourceRoot":"","sources":["../../src/connection/cluster-of.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,MAAM,EACN,OAAO,GACR,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC,GAAG,OAAO,CAAC,KAAK,CAU9E"}
@@ -1,9 +1,13 @@
1
1
  import { KafkaJS } from '@confluentinc/kafka-javascript';
2
2
  /**
3
- * The factory of the clients of a bus. The librdkafka properties carry the SASL password and
4
- * the TLS keys: they go to the client library here, and the bus keeps them nowhere.
3
+ * The factory of the clients of a bus: the one the options give, or one made of the brokers and
4
+ * the client properties. The librdkafka properties carry the SASL password and the TLS keys: they
5
+ * go to the client library here, and the bus keeps them nowhere.
5
6
  */
6
- export function clusterOf({ brokers, client }) {
7
+ export function clusterOf({ brokers, client, cluster, }) {
8
+ if (cluster !== undefined) {
9
+ return cluster;
10
+ }
7
11
  // The client logs the message and the stack of what it catches: its logs stay off, and
8
12
  // failures are reported through `onFailure`, by code.
9
13
  const quiet = { brokers: brokersOf(brokers), logLevel: KafkaJS.logLevel.NOTHING };
@@ -1 +1 @@
1
- {"version":3,"file":"cluster-of.js","sourceRoot":"","sources":["../../src/connection/cluster-of.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAGzD;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,MAAM,EAAoD;IAC7F,uFAAuF;IACvF,sDAAsD;IACtD,MAAM,KAAK,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;IAElF,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1D,CAAC;AAED,SAAS,SAAS,CAAC,OAAmC;IACpD,MAAM,MAAM,GAAG,OA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AAM,GAAG,CAAC,CAAC,CAAC;AACrF,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { GlobalConfig } from '@confluentinc/kafka-javascript';
1
+ import type { GlobalConfig, KafkaJS } from '@confluentinc/kafka-javascript';
2
2
  import type { IntegrationEvent } from '@ddd-ts-kit/kernel';
3
3
  import type { KafkaDelivery } from './kafka-delivery.js';
4
4
  import type { KafkaFailure } from './kafka-failure.js';
@@ -10,6 +10,13 @@ export interface KafkaEventBusOptions {
10
10
  readonly brokers: string | readonly string[];
11
11
  /** librdkafka properties given to every client of the bus: TLS, SASL, `client.id`. */
12
12
  readonly client?: GlobalConfig;
13
+ /**
14
+ * The KafkaJS client the bus builds its producer, consumers and admin from, instead of one
15
+ * made of `brokers` and `client`, which it then does not read: a client the application
16
+ * configures or instruments itself, or a cluster held in memory in tests. The bus
17
+ * disconnects what it builds, never the client itself.
18
+ */
19
+ readonly cluster?: KafkaJS.Kafka;
13
20
  /** The consuming context `subscribe` works for: its name is the consumer group id. */
14
21
  readonly consumer?: string;
15
22
  /** The topic of an event type. Default: the type itself, one topic per event type. */
@@ -1 +1 @@
1
- {"version":3,"file":"kafka-event-bus-options.d.ts","sourceRoot":"","sources":["../../src/options/kafka-event-bus-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACnC,0EAA0E;IAC1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CAAC;IAC9B,sGAAsG;IACtG,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,8EAA8E;IAC9E,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,0GAA0G;IAC1G,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAC;IACtC,8EAA8E;IAC9E,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD,+FAA+F;IAC/F,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;CACzD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/kafka",
3
- "version": "0.83.2",
3
+ "version": "0.83.4",
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.83.2",
42
- "@ddd-ts-kit/kernel": "0.83.2"
41
+ "@ddd-ts-kit/events": "0.83.4",
42
+ "@ddd-ts-kit/kernel": "0.83.4"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@confluentinc/kafka-javascript": "^1.11.0",
46
- "@ddd-ts-kit/testing": "0.83.2"
46
+ "@ddd-ts-kit/testing": "0.83.4"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@confluentinc/kafka-javascript": ">=1.11.0 <2"