@drarzter/kafka-client 0.8.0 → 0.9.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 +47 -10
- package/dist/{chunk-CHFLNQXK.mjs → chunk-TPIP5VV7.mjs} +2915 -2871
- package/dist/chunk-TPIP5VV7.mjs.map +1 -0
- package/dist/client-CBBUDDtu.d.ts +751 -0
- package/dist/client-D-SxYV2b.d.mts +751 -0
- package/dist/{types-CNfeoF3_.d.mts → consumer.types-fFCag3VJ.d.mts} +416 -1148
- package/dist/{types-CNfeoF3_.d.ts → consumer.types-fFCag3VJ.d.ts} +416 -1148
- package/dist/core.d.mts +154 -382
- package/dist/core.d.ts +154 -382
- package/dist/core.js +2914 -2870
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +1 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +2914 -2870
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/otel.d.mts +1 -1
- package/dist/otel.d.ts +1 -1
- package/dist/testing.d.mts +216 -2
- package/dist/testing.d.ts +216 -2
- package/dist/testing.js +300 -4
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +295 -4
- package/dist/testing.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-CHFLNQXK.mjs.map +0 -1
package/dist/core.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { KafkaClientOptions } from './core.mjs';
|
|
1
2
|
export { KafkaClient, KafkaProcessingError, KafkaRetryExhaustedError, KafkaValidationError } from './core.mjs';
|
|
2
|
-
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation,
|
|
3
|
-
export { B as BatchMessageItem,
|
|
3
|
+
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation, S as SchemaLike, a as ConsumerOptions, b as TopicDescriptor } from './consumer.types-fFCag3VJ.mjs';
|
|
4
|
+
export { B as BatchMessageItem, c as BatchMeta, d as BatchSendOptions, e as BeforeConsumeResult, f as CircuitBreakerOptions, g as CompressionType, h as ConsumerHandle, i as ConsumerInterceptor, D as DeduplicationOptions, j as DlqReason, E as EnvelopeHeaderOptions, k as EventEnvelope, H as HEADER_CORRELATION_ID, l as HEADER_EVENT_ID, m as HEADER_LAMPORT_CLOCK, n as HEADER_SCHEMA_VERSION, o as HEADER_TIMESTAMP, p as HEADER_TRACEPARENT, I as InferSchema, q as KafkaLogger, r as KafkaMetrics, M as MessageHeaders, s as MessageLostContext, R as RetryOptions, t as RoutingOptions, u as SchemaParseContext, v as SendOptions, w as SubscribeRetryOptions, x as TTopicMessageMap, y as TopicsFrom, z as TransactionContext, A as TransactionalHandlerContext, F as TtlExpiredContext, W as WindowConsumerOptions, J as WindowMeta, L as buildEnvelopeHeaders, N as decodeHeaders, O as extractEnvelope, P as getEnvelopeContext, Q as runWithEnvelopeContext, U as topic } from './consumer.types-fFCag3VJ.mjs';
|
|
4
5
|
import { DynamicModule, OnModuleInit } from '@nestjs/common';
|
|
5
6
|
import { DiscoveryService, ModuleRef } from '@nestjs/core';
|
|
7
|
+
import { I as IKafkaClient, r as KafkaHealthResult } from './client-D-SxYV2b.mjs';
|
|
8
|
+
export { C as CheckpointEntry, s as CheckpointRestoreResult, t as CheckpointResult, u as ConsumerGroupSummary, D as DlqReplayOptions, v as IKafkaAdmin, w as IKafkaConsumer, x as IKafkaLifecycle, y as IKafkaProducer, R as ReadSnapshotOptions, z as RestoreCheckpointOptions, T as TopicDescription, A as TopicPartitionInfo } from './client-D-SxYV2b.mjs';
|
|
6
9
|
|
|
7
10
|
/** Shared configuration fields for both `register()` and `registerAsync()`. */
|
|
8
11
|
interface KafkaModuleBaseOptions {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { KafkaClientOptions } from './core.js';
|
|
1
2
|
export { KafkaClient, KafkaProcessingError, KafkaRetryExhaustedError, KafkaValidationError } from './core.js';
|
|
2
|
-
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation,
|
|
3
|
-
export { B as BatchMessageItem,
|
|
3
|
+
import { T as TopicMapConstraint, C as ClientId, G as GroupId, K as KafkaInstrumentation, S as SchemaLike, a as ConsumerOptions, b as TopicDescriptor } from './consumer.types-fFCag3VJ.js';
|
|
4
|
+
export { B as BatchMessageItem, c as BatchMeta, d as BatchSendOptions, e as BeforeConsumeResult, f as CircuitBreakerOptions, g as CompressionType, h as ConsumerHandle, i as ConsumerInterceptor, D as DeduplicationOptions, j as DlqReason, E as EnvelopeHeaderOptions, k as EventEnvelope, H as HEADER_CORRELATION_ID, l as HEADER_EVENT_ID, m as HEADER_LAMPORT_CLOCK, n as HEADER_SCHEMA_VERSION, o as HEADER_TIMESTAMP, p as HEADER_TRACEPARENT, I as InferSchema, q as KafkaLogger, r as KafkaMetrics, M as MessageHeaders, s as MessageLostContext, R as RetryOptions, t as RoutingOptions, u as SchemaParseContext, v as SendOptions, w as SubscribeRetryOptions, x as TTopicMessageMap, y as TopicsFrom, z as TransactionContext, A as TransactionalHandlerContext, F as TtlExpiredContext, W as WindowConsumerOptions, J as WindowMeta, L as buildEnvelopeHeaders, N as decodeHeaders, O as extractEnvelope, P as getEnvelopeContext, Q as runWithEnvelopeContext, U as topic } from './consumer.types-fFCag3VJ.js';
|
|
4
5
|
import { DynamicModule, OnModuleInit } from '@nestjs/common';
|
|
5
6
|
import { DiscoveryService, ModuleRef } from '@nestjs/core';
|
|
7
|
+
import { I as IKafkaClient, r as KafkaHealthResult } from './client-CBBUDDtu.js';
|
|
8
|
+
export { C as CheckpointEntry, s as CheckpointRestoreResult, t as CheckpointResult, u as ConsumerGroupSummary, D as DlqReplayOptions, v as IKafkaAdmin, w as IKafkaConsumer, x as IKafkaLifecycle, y as IKafkaProducer, R as ReadSnapshotOptions, z as RestoreCheckpointOptions, T as TopicDescription, A as TopicPartitionInfo } from './client-CBBUDDtu.js';
|
|
6
9
|
|
|
7
10
|
/** Shared configuration fields for both `register()` and `registerAsync()`. */
|
|
8
11
|
interface KafkaModuleBaseOptions {
|