@rsdk/kafka.producer.direct 5.4.0-next.1 → 5.4.0-next.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/CHANGELOG.md +10 -0
- package/dist/constants.d.ts +1 -1
- package/dist/decorator.d.ts +1 -1
- package/dist/direct-events.factory.d.ts +1 -1
- package/dist/direct-outbox.module-generator.d.ts +1 -1
- package/dist/producers/batch.producer.d.ts +1 -1
- package/dist/producers/single.producer.d.ts +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -1
- package/src/decorator.ts +1 -1
- package/src/direct-events.factory.ts +1 -1
- package/src/direct-outbox.module-generator.ts +1 -1
- package/src/producers/batch.producer.ts +1 -1
- package/src/producers/single.producer.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.4.0-next.3](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.2...v5.4.0-next.3) (2024-11-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/kafka.producer.direct
|
|
9
|
+
|
|
10
|
+
## [5.4.0-next.2](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.1...v5.4.0-next.2) (2024-11-25)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **nats:** nats transport/kv/os + examples + docs ([#306](https://github.com/R-Vision/rsdk/issues/306)) ([de67eed](https://github.com/R-Vision/rsdk/commit/de67eed8b4cb17ec9d359067eae1e0c35d6cc736))
|
|
15
|
+
|
|
6
16
|
## [5.4.0-next.1](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.0...v5.4.0-next.1) (2024-11-08)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rsdk/kafka.producer.direct
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventType } from '@rsdk/
|
|
1
|
+
import type { EventType } from '@rsdk/events.common';
|
|
2
2
|
export declare const KAFKA_PRODUCED_RSDK_METADATA_SCOPE = "kafka-producer-direct";
|
|
3
3
|
export declare const createDirectProducerToken: (eventType: EventType<any>) => string;
|
|
4
4
|
export declare const createDirectBatchProducerToken: (eventTypes: EventType[]) => string;
|
package/dist/decorator.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { EventType } from '@rsdk/
|
|
1
|
+
import type { EventType } from '@rsdk/events.common';
|
|
2
2
|
export declare const InjectDirectProducer: (eventType: EventType) => ParameterDecorator;
|
|
3
3
|
export declare const InjectDirectBatchProducer: (eventTypes: EventType[]) => ParameterDecorator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventPayload, EventType } from '@rsdk/
|
|
1
|
+
import type { EventPayload, EventType } from '@rsdk/events.common';
|
|
2
2
|
import type { PublishOptions } from '@rsdk/kafka.producer';
|
|
3
3
|
import { EventsFactory } from '@rsdk/kafka.producer';
|
|
4
4
|
import type { Message } from 'kafkajs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DynamicModule } from '@nestjs/common';
|
|
2
|
-
import type { EventType } from '@rsdk/
|
|
2
|
+
import type { EventType } from '@rsdk/events.common';
|
|
3
3
|
export declare class DirectOutboxModuleGenerator {
|
|
4
4
|
static createModule(eventType: EventType): DynamicModule;
|
|
5
5
|
static createBatchModule(eventTypes: EventType[]): DynamicModule;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventType } from '@rsdk/
|
|
1
|
+
import type { EventType } from '@rsdk/events.common';
|
|
2
2
|
import type { BatchProducerItem } from '@rsdk/kafka.producer';
|
|
3
3
|
import type { ProducerOptions, RawKafkaBatchProducer } from '@rsdk/kafka.producer/dist/interfaces';
|
|
4
4
|
import type { Producer } from 'kafkajs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventPayload, EventType } from '@rsdk/
|
|
1
|
+
import type { EventPayload, EventType } from '@rsdk/events.common';
|
|
2
2
|
import type { KafkaProducer, ProducerOptions, PublishOptions } from '@rsdk/kafka.producer';
|
|
3
3
|
import type { Producer } from 'kafkajs';
|
|
4
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/kafka.producer.direct",
|
|
3
|
-
"version": "5.4.0-next.
|
|
3
|
+
"version": "5.4.0-next.3",
|
|
4
4
|
"description": "Publishing messages directly to kafka",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"lodash": "^4.17.21"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "8b755915540bab9a033e50b22fc0223e6a23f6be"
|
|
33
33
|
}
|
package/src/constants.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Case } from '@rsdk/common';
|
|
2
|
-
import type { EventType } from '@rsdk/
|
|
2
|
+
import type { EventType } from '@rsdk/events.common';
|
|
3
3
|
|
|
4
4
|
export const KAFKA_PRODUCED_RSDK_METADATA_SCOPE = 'kafka-producer-direct';
|
|
5
5
|
export const createDirectProducerToken = (eventType: EventType<any>): string =>
|
package/src/decorator.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EventPayload, EventType } from '@rsdk/
|
|
1
|
+
import type { EventPayload, EventType } from '@rsdk/events.common';
|
|
2
2
|
import type { PublishOptions } from '@rsdk/kafka.producer';
|
|
3
3
|
import { EventsFactory } from '@rsdk/kafka.producer';
|
|
4
4
|
import type { Message } from 'kafkajs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { DynamicModule, FactoryProvider } from '@nestjs/common';
|
|
2
2
|
import { AutodocMetadata } from '@rsdk/autodoc.protocol';
|
|
3
3
|
import { PlatformConfigModule } from '@rsdk/core';
|
|
4
|
+
import type { EventType } from '@rsdk/events.common';
|
|
4
5
|
import type {
|
|
5
|
-
EventType,
|
|
6
6
|
KafkaProducerOptions,
|
|
7
7
|
KafkaTopicMetadata,
|
|
8
8
|
} from '@rsdk/kafka.common';
|