@drarzter/kafka-client 0.6.4 → 0.6.7
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 +122 -1
- package/dist/{chunk-7IX4AKQX.mjs → chunk-ISYOEX4W.mjs} +335 -47
- package/dist/chunk-ISYOEX4W.mjs.map +1 -0
- package/dist/core.d.mts +35 -4
- package/dist/core.d.ts +35 -4
- package/dist/core.js +335 -46
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +3 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +335 -46
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/otel.d.mts +1 -1
- package/dist/otel.d.ts +1 -1
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{types-zFbQH_Cy.d.mts → types-CqjRm-Cd.d.mts} +110 -3
- package/dist/{types-zFbQH_Cy.d.ts → types-CqjRm-Cd.d.ts} +110 -3
- package/package.json +1 -1
- package/dist/chunk-7IX4AKQX.mjs.map +0 -1
package/dist/core.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER_CORRELATION_ID,
|
|
3
3
|
HEADER_EVENT_ID,
|
|
4
|
+
HEADER_LAMPORT_CLOCK,
|
|
4
5
|
HEADER_SCHEMA_VERSION,
|
|
5
6
|
HEADER_TIMESTAMP,
|
|
6
7
|
HEADER_TRACEPARENT,
|
|
@@ -14,11 +15,12 @@ import {
|
|
|
14
15
|
getEnvelopeContext,
|
|
15
16
|
runWithEnvelopeContext,
|
|
16
17
|
topic
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ISYOEX4W.mjs";
|
|
18
19
|
import "./chunk-EQQGB2QZ.mjs";
|
|
19
20
|
export {
|
|
20
21
|
HEADER_CORRELATION_ID,
|
|
21
22
|
HEADER_EVENT_ID,
|
|
23
|
+
HEADER_LAMPORT_CLOCK,
|
|
22
24
|
HEADER_SCHEMA_VERSION,
|
|
23
25
|
HEADER_TIMESTAMP,
|
|
24
26
|
HEADER_TRACEPARENT,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { KafkaClient, KafkaProcessingError, KafkaRetryExhaustedError, KafkaValidationError } from './core.mjs';
|
|
2
|
-
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation, a as KafkaClientOptions, S as SchemaLike, b as ConsumerOptions, c as TopicDescriptor, I as IKafkaClient, d as KafkaHealthResult } from './types-
|
|
3
|
-
export { B as BatchMessageItem, e as BatchMeta, f as BeforeConsumeResult, g as ConsumerHandle, h as ConsumerInterceptor, E as EnvelopeHeaderOptions,
|
|
2
|
+
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation, a as KafkaClientOptions, S as SchemaLike, b as ConsumerOptions, c as TopicDescriptor, I as IKafkaClient, d as KafkaHealthResult } from './types-CqjRm-Cd.mjs';
|
|
3
|
+
export { B as BatchMessageItem, e as BatchMeta, f as BeforeConsumeResult, g as ConsumerHandle, h as ConsumerInterceptor, D as DeduplicationOptions, i as DlqReason, E as EnvelopeHeaderOptions, j as EventEnvelope, H as HEADER_CORRELATION_ID, k as HEADER_EVENT_ID, l as HEADER_LAMPORT_CLOCK, m as HEADER_SCHEMA_VERSION, n as HEADER_TIMESTAMP, o as HEADER_TRACEPARENT, p as InferSchema, q as KafkaLogger, r as KafkaMetrics, M as MessageHeaders, s as MessageLostContext, R as RetryOptions, t as SchemaParseContext, u as SendOptions, v as SubscribeRetryOptions, w as TTopicMessageMap, x as TopicsFrom, y as TransactionContext, z as buildEnvelopeHeaders, A as decodeHeaders, F as extractEnvelope, J as getEnvelopeContext, L as runWithEnvelopeContext, N as topic } from './types-CqjRm-Cd.mjs';
|
|
4
4
|
import { DynamicModule, OnModuleInit } from '@nestjs/common';
|
|
5
5
|
import { DiscoveryService, ModuleRef } from '@nestjs/core';
|
|
6
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { KafkaClient, KafkaProcessingError, KafkaRetryExhaustedError, KafkaValidationError } from './core.js';
|
|
2
|
-
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation, a as KafkaClientOptions, S as SchemaLike, b as ConsumerOptions, c as TopicDescriptor, I as IKafkaClient, d as KafkaHealthResult } from './types-
|
|
3
|
-
export { B as BatchMessageItem, e as BatchMeta, f as BeforeConsumeResult, g as ConsumerHandle, h as ConsumerInterceptor, E as EnvelopeHeaderOptions,
|
|
2
|
+
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation, a as KafkaClientOptions, S as SchemaLike, b as ConsumerOptions, c as TopicDescriptor, I as IKafkaClient, d as KafkaHealthResult } from './types-CqjRm-Cd.js';
|
|
3
|
+
export { B as BatchMessageItem, e as BatchMeta, f as BeforeConsumeResult, g as ConsumerHandle, h as ConsumerInterceptor, D as DeduplicationOptions, i as DlqReason, E as EnvelopeHeaderOptions, j as EventEnvelope, H as HEADER_CORRELATION_ID, k as HEADER_EVENT_ID, l as HEADER_LAMPORT_CLOCK, m as HEADER_SCHEMA_VERSION, n as HEADER_TIMESTAMP, o as HEADER_TRACEPARENT, p as InferSchema, q as KafkaLogger, r as KafkaMetrics, M as MessageHeaders, s as MessageLostContext, R as RetryOptions, t as SchemaParseContext, u as SendOptions, v as SubscribeRetryOptions, w as TTopicMessageMap, x as TopicsFrom, y as TransactionContext, z as buildEnvelopeHeaders, A as decodeHeaders, F as extractEnvelope, J as getEnvelopeContext, L as runWithEnvelopeContext, N as topic } from './types-CqjRm-Cd.js';
|
|
4
4
|
import { DynamicModule, OnModuleInit } from '@nestjs/common';
|
|
5
5
|
import { DiscoveryService, ModuleRef } from '@nestjs/core';
|
|
6
6
|
|