@rsdk/kafka.producer.direct 5.4.0-next.1 → 5.4.0-next.11

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 CHANGED
@@ -3,6 +3,52 @@
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.11](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.10...v5.4.0-next.11) (2024-12-04)
7
+
8
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
9
+
10
+ ## [5.4.0-next.10](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.9...v5.4.0-next.10) (2024-12-03)
11
+
12
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
13
+
14
+ ## [5.4.0-next.9](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.8...v5.4.0-next.9) (2024-12-02)
15
+
16
+ ## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
17
+
18
+ ## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.3.1-rc.0) (2024-11-28)
19
+
20
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
21
+
22
+ ## [5.4.0-next.8](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.7...v5.4.0-next.8) (2024-11-28)
23
+
24
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
25
+
26
+ ## [5.4.0-next.7](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.4.0-next.7) (2024-11-28)
27
+
28
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
29
+
30
+ ## [5.4.0-next.6](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.5...v5.4.0-next.6) (2024-11-28)
31
+
32
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
33
+
34
+ ## [5.4.0-next.5](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.4...v5.4.0-next.5) (2024-11-28)
35
+
36
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
37
+
38
+ ## [5.4.0-next.4](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.3...v5.4.0-next.4) (2024-11-27)
39
+
40
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
41
+
42
+ ## [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)
43
+
44
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
45
+
46
+ ## [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)
47
+
48
+ ### Features
49
+
50
+ * **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))
51
+
6
52
  ## [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
53
 
8
54
  **Note:** Version bump only for package @rsdk/kafka.producer.direct
@@ -11,6 +57,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
57
 
12
58
  **Note:** Version bump only for package @rsdk/kafka.producer.direct
13
59
 
60
+ ## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
61
+
62
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
63
+
64
+ ## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.3.0...v5.3.1-rc.0) (2024-11-28)
65
+
66
+ **Note:** Version bump only for package @rsdk/kafka.producer.direct
67
+
14
68
  ## [5.3.0](https://github.com/R-Vision/rsdk/compare/v5.3.0-next.4...v5.3.0) (2024-11-08)
15
69
 
16
70
  **Note:** Version bump only for package @rsdk/kafka.producer.direct
@@ -1,4 +1,4 @@
1
- import type { EventType } from '@rsdk/kafka.common';
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;
@@ -1,3 +1,3 @@
1
- import type { EventType } from '@rsdk/kafka.common';
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/kafka.common';
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/kafka.common';
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/kafka.common';
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/kafka.common';
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.1",
3
+ "version": "5.4.0-next.11",
4
4
  "description": "Publishing messages directly to kafka",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "main": "dist/index.js",
13
13
  "peerDependencies": {
14
- "@grpc/grpc-js": "^1.10.9",
14
+ "@grpc/grpc-js": "^1.10.11",
15
15
  "@nestjs/common": "^10.0.0",
16
16
  "@nestjs/core": "^10.0.0",
17
17
  "@nestjs/microservices": "^10.0.0",
@@ -29,5 +29,5 @@
29
29
  "dependencies": {
30
30
  "lodash": "^4.17.21"
31
31
  },
32
- "gitHead": "de7a6d46a28e5d5e90eb9ba36cea1ee48891505a"
32
+ "gitHead": "aeefd240acea47a74d5eb5568fdf88ba8df533ae"
33
33
  }
package/src/constants.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Case } from '@rsdk/common';
2
- import type { EventType } from '@rsdk/kafka.common';
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,5 +1,5 @@
1
1
  import { Inject } from '@nestjs/common';
2
- import type { EventType } from '@rsdk/kafka.common';
2
+ import type { EventType } from '@rsdk/events.common';
3
3
  import {
4
4
  PLATFORM_RAW_GLOBAL_METADATA_SCOPE,
5
5
  RsdkMetadata,
@@ -1,4 +1,4 @@
1
- import type { EventPayload, EventType } from '@rsdk/kafka.common';
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';
@@ -1,4 +1,4 @@
1
- import type { EventType } from '@rsdk/kafka.common';
1
+ import type { EventType } from '@rsdk/events.common';
2
2
  import { getTopicName, handleKafkaError } from '@rsdk/kafka.common';
3
3
  import type { BatchProducerItem } from '@rsdk/kafka.producer';
4
4
  import type {
@@ -1,4 +1,4 @@
1
- import type { EventPayload, EventType } from '@rsdk/kafka.common';
1
+ import type { EventPayload, EventType } from '@rsdk/events.common';
2
2
  import { getTopicName, handleKafkaError } from '@rsdk/kafka.common';
3
3
  import type {
4
4
  KafkaProducer,