@drarzter/kafka-client 0.7.2 → 0.7.3
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.md +21 -7
- package/dist/{chunk-MADAJD2F.mjs → chunk-XP7LLRGQ.mjs} +751 -861
- package/dist/chunk-XP7LLRGQ.mjs.map +1 -0
- package/dist/core.d.mts +19 -137
- package/dist/core.d.ts +19 -137
- package/dist/core.js +750 -860
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +1 -1
- package/dist/index.js +751 -861
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-MADAJD2F.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1866,13 +1866,27 @@ Both suites run in CI on every push to `main` and on pull requests.
|
|
|
1866
1866
|
|
|
1867
1867
|
```text
|
|
1868
1868
|
src/
|
|
1869
|
-
├── client/
|
|
1870
|
-
├──
|
|
1871
|
-
├──
|
|
1872
|
-
├──
|
|
1873
|
-
├──
|
|
1874
|
-
├──
|
|
1875
|
-
└──
|
|
1869
|
+
├── client/ # Core — 0 framework deps
|
|
1870
|
+
│ ├── kafka.client/
|
|
1871
|
+
│ │ ├── index.ts # KafkaClient class
|
|
1872
|
+
│ │ ├── admin/ # AdminOps
|
|
1873
|
+
│ │ ├── producer/ # payload builders, schema registry
|
|
1874
|
+
│ │ ├── consumer/ # consumer ops, handler, retry-topic, DLQ replay, queue, pipeline
|
|
1875
|
+
│ │ └── infra/ # CircuitBreakerManager, InFlightTracker, MetricsManager
|
|
1876
|
+
│ ├── message/ # EventEnvelope, topic(), headers
|
|
1877
|
+
│ ├── __tests__/
|
|
1878
|
+
│ │ ├── helpers.ts
|
|
1879
|
+
│ │ ├── consumer/ # consumer, batch, retry, dedup, TTL, DLQ replay, …
|
|
1880
|
+
│ │ ├── producer/ # producer, transactions, schema, topic
|
|
1881
|
+
│ │ ├── admin/ # admin, consumer lag
|
|
1882
|
+
│ │ └── infra/ # circuit breaker, errors, instrumentation, OTel, metrics
|
|
1883
|
+
│ └── types.ts, errors.ts, …
|
|
1884
|
+
├── nest/ # NestJS adapter — Module, Explorer, decorators, health
|
|
1885
|
+
├── testing/ # Testing utilities — mock client, testcontainer wrapper
|
|
1886
|
+
├── core.ts # Standalone entrypoint (@drarzter/kafka-client/core)
|
|
1887
|
+
├── otel.ts # OpenTelemetry entrypoint (@drarzter/kafka-client/otel)
|
|
1888
|
+
├── testing.ts # Testing entrypoint (@drarzter/kafka-client/testing)
|
|
1889
|
+
└── index.ts # Full entrypoint — core + NestJS adapter
|
|
1876
1890
|
```
|
|
1877
1891
|
|
|
1878
1892
|
All exported types and methods have JSDoc comments — your IDE will show inline docs and autocomplete.
|