@rsdk/kafka.producer 4.0.0-next.9 → 4.0.1-next.0

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,58 @@
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
+ ## [4.0.1-next.0](https://github.com/R-Vision/rsdk/compare/v4.0.0...v4.0.1-next.0) (2023-12-06)
7
+
8
+ **Note:** Version bump only for package @rsdk/kafka.producer
9
+
10
+ ## [4.0.0](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.19...v4.0.0) (2023-12-04)
11
+
12
+ **Note:** Version bump only for package @rsdk/kafka.producer
13
+
14
+ ## [4.0.0-next.19](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.18...v4.0.0-next.19) (2023-12-02)
15
+
16
+ **Note:** Version bump only for package @rsdk/kafka.producer
17
+
18
+ ## [4.0.0-next.18](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.17...v4.0.0-next.18) (2023-12-02)
19
+
20
+ **Note:** Version bump only for package @rsdk/kafka.producer
21
+
22
+ ## [4.0.0-next.17](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.16...v4.0.0-next.17) (2023-12-01)
23
+
24
+ ### Bug Fixes
25
+
26
+ * wip ([e611203](https://github.com/R-Vision/rsdk/commit/e61120355e25a5c7d01a0a0242f8839a37ebaf2c))
27
+
28
+ ## [4.0.0-next.16](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.15...v4.0.0-next.16) (2023-11-30)
29
+
30
+ **Note:** Version bump only for package @rsdk/kafka.producer
31
+
32
+ ## [4.0.0-next.15](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.14...v4.0.0-next.15) (2023-11-30)
33
+
34
+ ### Features
35
+
36
+ * added protocol detector ([#166](https://github.com/R-Vision/rsdk/issues/166)) ([f348995](https://github.com/R-Vision/rsdk/commit/f348995f29648c7392b7375c5b2001197d60eb36))
37
+
38
+ ## [4.0.0-next.14](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.13...v4.0.0-next.14) (2023-11-29)
39
+
40
+ **Note:** Version bump only for package @rsdk/kafka.producer
41
+
42
+ ## [4.0.0-next.13](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.12...v4.0.0-next.13) (2023-11-29)
43
+
44
+ **Note:** Version bump only for package @rsdk/kafka.producer
45
+
46
+ ## [4.0.0-next.12](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.11...v4.0.0-next.12) (2023-11-29)
47
+
48
+ **Note:** Version bump only for package @rsdk/kafka.producer
49
+
50
+ ## [4.0.0-next.11](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.10...v4.0.0-next.11) (2023-11-29)
51
+
52
+ **Note:** Version bump only for package @rsdk/kafka.producer
53
+
54
+ ## [4.0.0-next.10](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.9...v4.0.0-next.10) (2023-11-29)
55
+
56
+ **Note:** Version bump only for package @rsdk/kafka.producer
57
+
6
58
  ## [4.0.0-next.9](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.8...v4.0.0-next.9) (2023-11-29)
7
59
 
8
60
  **Note:** Version bump only for package @rsdk/kafka.producer
@@ -11,7 +63,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
63
 
12
64
  ### Features
13
65
 
14
- * Kafka batch producer ([#150](https://github.com/R-Vision/rsdk/issues/150)) ([2faa2f4](https://github.com/R-Vision/rsdk/commit/2faa2f41ca0dbb6d8a92cbf0ab20cf5cefeaf4e9))
66
+ * Kafka batch
67
+ producer ([#150](https://github.com/R-Vision/rsdk/issues/150)) ([2faa2f4](https://github.com/R-Vision/rsdk/commit/2faa2f41ca0dbb6d8a92cbf0ab20cf5cefeaf4e9))
15
68
 
16
69
  ## [4.0.0-next.7](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.6...v4.0.0-next.7) (2023-11-21)
17
70
 
@@ -33,7 +86,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
33
86
 
34
87
  ### Bug Fixes
35
88
 
36
- * all yarn peers dependency issues ([e0db9ef](https://github.com/R-Vision/rsdk/commit/e0db9ef1ab8a4df4e1f8ff6f6a9e3728f497549b))
89
+ * all yarn peers dependency
90
+ issues ([e0db9ef](https://github.com/R-Vision/rsdk/commit/e0db9ef1ab8a4df4e1f8ff6f6a9e3728f497549b))
37
91
 
38
92
  ## [4.0.0-next.2](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.1...v4.0.0-next.2) (2023-11-10)
39
93
 
@@ -83,7 +137,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
83
137
 
84
138
  ### Features
85
139
 
86
- * **kafka.producer:** pfm-461-add-kafka-producer-plugin-with-producer-serializer ([3faeaa3](https://github.com/R-Vision/rsdk/commit/3faeaa30682eed824abf16200f684e5cb6f2e596))
140
+ * **kafka.producer:**
141
+ pfm-461-add-kafka-producer-plugin-with-producer-serializer ([3faeaa3](https://github.com/R-Vision/rsdk/commit/3faeaa30682eed824abf16200f684e5cb6f2e596))
87
142
 
88
143
  ## [3.6.0-next.2](https://github.com/R-Vision/rsdk/compare/v3.6.0-next.1...v3.6.0-next.2) (2023-10-10)
89
144
 
@@ -205,7 +260,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
205
260
 
206
261
  ### Features
207
262
 
208
- * **kafka:** added option to consume by topic name ([#93](https://github.com/R-Vision/rsdk/issues/93)) ([09b4c1b](https://github.com/R-Vision/rsdk/commit/09b4c1bd515c1c2c3ccda17851fbe79e64ea8ac5))
263
+ * **kafka:** added option to consume by topic
264
+ name ([#93](https://github.com/R-Vision/rsdk/issues/93)) ([09b4c1b](https://github.com/R-Vision/rsdk/commit/09b4c1bd515c1c2c3ccda17851fbe79e64ea8ac5))
209
265
 
210
266
  ## [3.0.2](https://github.com/R-Vision/rsdk/compare/v3.0.1...v3.0.2) (2023-08-07)
211
267
 
@@ -215,13 +271,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
215
271
 
216
272
  ### Bug Fixes
217
273
 
218
- * **deps:** correctly peerDependencies ([349628f](https://github.com/R-Vision/rsdk/commit/349628f10da46a30d6c8b9f9387e010869318212))
274
+ * **deps:** correctly
275
+ peerDependencies ([349628f](https://github.com/R-Vision/rsdk/commit/349628f10da46a30d6c8b9f9387e010869318212))
219
276
 
220
277
  ## [3.0.1-next.0](https://github.com/R-Vision/rsdk/compare/v3.0.0...v3.0.1-next.0) (2023-08-07)
221
278
 
222
279
  ### Bug Fixes
223
280
 
224
- * **deps:** correctly peerDependencies ([7483e35](https://github.com/R-Vision/rsdk/commit/7483e3560b5cf23ebebe6149bd41ebb517821e99))
281
+ * **deps:** correctly
282
+ peerDependencies ([7483e35](https://github.com/R-Vision/rsdk/commit/7483e3560b5cf23ebebe6149bd41ebb517821e99))
225
283
 
226
284
  ## [3.0.0](https://github.com/R-Vision/rsdk/compare/v3.0.0-next.0...v3.0.0) (2023-08-04)
227
285
 
@@ -343,7 +401,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
343
401
 
344
402
  ### Bug Fixes
345
403
 
346
- * remove private dependencies from `peerDependencies` section ([0bce6ff](https://github.com/R-Vision/rsdk/commit/0bce6ffb5b699e2ed1dc9aca77cbdbf085267ff7))
404
+ * remove private dependencies from `peerDependencies`
405
+ section ([0bce6ff](https://github.com/R-Vision/rsdk/commit/0bce6ffb5b699e2ed1dc9aca77cbdbf085267ff7))
347
406
 
348
407
  ## 1.0.11 (2023-05-23)
349
408
 
@@ -353,4 +412,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
353
412
 
354
413
  ### Bug Fixes
355
414
 
356
- * add "access: public" to new packages ([04d5983](https://github.com/R-Vision/rsdk/commit/04d5983cfa3e97c5d8219e07208a0499a8c6bc83))
415
+ * add "access: public" to new
416
+ packages ([04d5983](https://github.com/R-Vision/rsdk/commit/04d5983cfa3e97c5d8219e07208a0499a8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;QAED;;;;WAIG;QACH,OAAO,CACL,IAAA,YAAG,EAAC,OAAO,EAAE,IAAI,CAAC;YAClB,IAAA,YAAG,EAAC,OAAO,EAAE,MAAM,CAAC;YACpB,IAAA,YAAG,EAAC,OAAO,EAAE,MAAM,CAAC;YACpB,IAAA,wBAAU,GAAE,CACb,CAAC;IACJ,CAAC;CAGF;AAnED,sCAmEC"}
1
+ {"version":3,"file":"events-factory.abstract.js","sourceRoot":"","sources":["../src/events-factory.abstract.ts"],"names":[],"mappings":";;;AACA,qDAM4B;AAC5B,mCAA6B;AAC7B,6CAAyC;AAQzC;;;;GAIG;AACH,MAAsB,aAAa;IAIZ;IAHJ,aAAa,CAAgB;IAE9C,YACqB,SAAY,EAC/B,MAAuB;QADJ,cAAS,GAAT,SAAS,CAAG;QAG/B,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,IAAI,qCAAsB,CAAC;IACtE,CAAC;IAES,WAAW,CACnB,QAA0C;QAE1C,OAAO;YACL,GAAG,QAAQ;YACX,GAAG,CAAC,IAAI,CAAC,aAAa;gBACpB,IAAI,CAAC,aAAa,KAAK,qCAAsB,IAAI;gBAC/C,CAAC,8BAAe,CAAC,EAAE,IAAI,CAAC,aAAa;aACtC,CAAC;SACL,CAAC;IACJ,CAAC;IAES,gBAAgB,CAA4B,OAAU;QAC9D,MAAM,KAAK,GACT,IAAI,CAAC,aAAa,KAAK,4BAAa,CAAC,IAAI;YACvC,CAAC,CAAC,IAAI,6BAAc,EAAK;YACzB,CAAC,CAAC,IAAI,8BAAe,CAAI,IAAI,CAAC,SAAS,CAAC,CAAC;QAE7C,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAES,eAAe,CACvB,OAAU,EACV,OAAwB;QAExB;;;WAGG;QACH,IAAI,OAAO,EAAE,YAAY,EAAE,CAAC;YAC1B,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QACtC,CAAC;QAED;;;WAGG;QACH,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC;QAC9C,IAAI,kBAAkB,IAAI,OAAO,kBAAkB,KAAK,QAAQ,EAAE,CAAC;YACjE,wCAAwC;YACxC,OAAO,IAAA,YAAG,EAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI,IAAA,wBAAU,GAAE,CAAC;QAC1D,CAAC;QAED;;;;WAIG;QACH,OAAO,CACL,IAAA,YAAG,EAAC,OAAO,EAAE,IAAI,CAAC;YAClB,IAAA,YAAG,EAAC,OAAO,EAAE,MAAM,CAAC;YACpB,IAAA,YAAG,EAAC,OAAO,EAAE,MAAM,CAAC;YACpB,IAAA,wBAAU,GAAE,CACb,CAAC;IACJ,CAAC;CAGF;AAnED,sCAmEC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export { EventsFactory } from './events-factory.abstract';
2
- export { EVENT_TYPE_TOKEN } from './constants';
3
2
  export { KafkaProducer, BatchProducerItem, KafkaBatchProducer, PublishOptions, ProducerOptions, EventMetadata, } from './interfaces';
4
3
  export { ProducerConfig } from './producer.config';
package/dist/index.js CHANGED
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProducerConfig = exports.EVENT_TYPE_TOKEN = exports.EventsFactory = void 0;
3
+ exports.ProducerConfig = exports.EventsFactory = void 0;
4
4
  var events_factory_abstract_1 = require("./events-factory.abstract");
5
5
  Object.defineProperty(exports, "EventsFactory", { enumerable: true, get: function () { return events_factory_abstract_1.EventsFactory; } });
6
- var constants_1 = require("./constants");
7
- Object.defineProperty(exports, "EVENT_TYPE_TOKEN", { enumerable: true, get: function () { return constants_1.EVENT_TYPE_TOKEN; } });
8
6
  var producer_config_1 = require("./producer.config");
9
7
  Object.defineProperty(exports, "ProducerConfig", { enumerable: true, get: function () { return producer_config_1.ProducerConfig; } });
10
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qEAA0D;AAAjD,wHAAA,aAAa,OAAA;AAEtB,yCAA+C;AAAtC,6GAAA,gBAAgB,OAAA;AAUzB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qEAA0D;AAAjD,wHAAA,aAAa,OAAA;AAUtB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/kafka.producer",
3
- "version": "4.0.0-next.9",
3
+ "version": "4.0.1-next.0",
4
4
  "description": "Publishers for kafka (different direct and outbox strategies)",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -14,13 +14,13 @@
14
14
  "@nestjs/common": "^10.0.0",
15
15
  "@nestjs/core": "^10.0.0",
16
16
  "@nestjs/microservices": "^10.0.0",
17
- "@rsdk/common": "^4.0.0-next.9",
18
- "@rsdk/core": "^4.0.0-next.9",
19
- "@rsdk/kafka.common": "^4.0.0-next.9",
20
- "@rsdk/logging": "^4.0.0-next.9",
17
+ "@rsdk/common": "^4.0.1-next.0",
18
+ "@rsdk/core": "^4.0.1-next.0",
19
+ "@rsdk/kafka.common": "^4.0.1-next.0",
20
+ "@rsdk/logging": "^4.0.1-next.0",
21
21
  "lodash": "^4.17.21",
22
22
  "reflect-metadata": "^0.1.13",
23
23
  "rxjs": "^7.0.0"
24
24
  },
25
- "gitHead": "889228ebf4076fafc1c7fce4406b1ea5a3d985ff"
25
+ "gitHead": "772c1ca796c9a5b279274d6a6fb1a356e64aa71f"
26
26
  }
package/src/index.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  export { EventsFactory } from './events-factory.abstract';
2
2
 
3
- export { EVENT_TYPE_TOKEN } from './constants';
4
-
5
3
  export {
6
4
  KafkaProducer,
7
5
  BatchProducerItem,
package/tsconfig.json CHANGED
@@ -4,5 +4,13 @@
4
4
  "declaration": true,
5
5
  "outDir": "dist"
6
6
  },
7
- "exclude": ["node_modules", "dist", "test", "**/*.spec.ts", "**/*.test.ts", "**/*.spec.e2e.ts", "**/*.test.e2e.ts"]
7
+ "exclude": [
8
+ "node_modules",
9
+ "dist",
10
+ "test",
11
+ "**/*.spec.ts",
12
+ "**/*.test.ts",
13
+ "**/*.spec.e2e.ts",
14
+ "**/*.test.e2e.ts"
15
+ ]
8
16
  }
@@ -1 +0,0 @@
1
- export declare const EVENT_TYPE_TOKEN: unique symbol;
package/dist/constants.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVENT_TYPE_TOKEN = void 0;
4
- exports.EVENT_TYPE_TOKEN = Symbol.for('EVENT_TYPE_TOKEN');
5
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC"}
package/src/constants.ts DELETED
@@ -1 +0,0 @@
1
- export const EVENT_TYPE_TOKEN = Symbol.for('EVENT_TYPE_TOKEN');