@rsdk/kafka.producer 4.0.0-next.8 → 4.0.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,11 +3,64 @@
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.0](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.19...v4.0.0) (2023-12-04)
7
+
8
+ **Note:** Version bump only for package @rsdk/kafka.producer
9
+
10
+ ## [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)
11
+
12
+ **Note:** Version bump only for package @rsdk/kafka.producer
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @rsdk/kafka.producer
17
+
18
+ ## [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)
19
+
20
+ ### Bug Fixes
21
+
22
+ * wip ([e611203](https://github.com/R-Vision/rsdk/commit/e61120355e25a5c7d01a0a0242f8839a37ebaf2c))
23
+
24
+ ## [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)
25
+
26
+ **Note:** Version bump only for package @rsdk/kafka.producer
27
+
28
+ ## [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)
29
+
30
+ ### Features
31
+
32
+ * added protocol detector ([#166](https://github.com/R-Vision/rsdk/issues/166)) ([f348995](https://github.com/R-Vision/rsdk/commit/f348995f29648c7392b7375c5b2001197d60eb36))
33
+
34
+ ## [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)
35
+
36
+ **Note:** Version bump only for package @rsdk/kafka.producer
37
+
38
+ ## [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)
39
+
40
+ **Note:** Version bump only for package @rsdk/kafka.producer
41
+
42
+ ## [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)
43
+
44
+ **Note:** Version bump only for package @rsdk/kafka.producer
45
+
46
+ ## [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)
47
+
48
+ **Note:** Version bump only for package @rsdk/kafka.producer
49
+
50
+ ## [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)
51
+
52
+ **Note:** Version bump only for package @rsdk/kafka.producer
53
+
54
+ ## [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)
55
+
56
+ **Note:** Version bump only for package @rsdk/kafka.producer
57
+
6
58
  ## [4.0.0-next.8](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.7...v4.0.0-next.8) (2023-11-29)
7
59
 
8
60
  ### Features
9
61
 
10
- * Kafka batch producer ([#150](https://github.com/R-Vision/rsdk/issues/150)) ([2faa2f4](https://github.com/R-Vision/rsdk/commit/2faa2f41ca0dbb6d8a92cbf0ab20cf5cefeaf4e9))
62
+ * Kafka batch
63
+ producer ([#150](https://github.com/R-Vision/rsdk/issues/150)) ([2faa2f4](https://github.com/R-Vision/rsdk/commit/2faa2f41ca0dbb6d8a92cbf0ab20cf5cefeaf4e9))
11
64
 
12
65
  ## [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)
13
66
 
@@ -29,7 +82,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
29
82
 
30
83
  ### Bug Fixes
31
84
 
32
- * all yarn peers dependency issues ([e0db9ef](https://github.com/R-Vision/rsdk/commit/e0db9ef1ab8a4df4e1f8ff6f6a9e3728f497549b))
85
+ * all yarn peers dependency
86
+ issues ([e0db9ef](https://github.com/R-Vision/rsdk/commit/e0db9ef1ab8a4df4e1f8ff6f6a9e3728f497549b))
33
87
 
34
88
  ## [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)
35
89
 
@@ -79,7 +133,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
79
133
 
80
134
  ### Features
81
135
 
82
- * **kafka.producer:** pfm-461-add-kafka-producer-plugin-with-producer-serializer ([3faeaa3](https://github.com/R-Vision/rsdk/commit/3faeaa30682eed824abf16200f684e5cb6f2e596))
136
+ * **kafka.producer:**
137
+ pfm-461-add-kafka-producer-plugin-with-producer-serializer ([3faeaa3](https://github.com/R-Vision/rsdk/commit/3faeaa30682eed824abf16200f684e5cb6f2e596))
83
138
 
84
139
  ## [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)
85
140
 
@@ -201,7 +256,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
201
256
 
202
257
  ### Features
203
258
 
204
- * **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))
259
+ * **kafka:** added option to consume by topic
260
+ name ([#93](https://github.com/R-Vision/rsdk/issues/93)) ([09b4c1b](https://github.com/R-Vision/rsdk/commit/09b4c1bd515c1c2c3ccda17851fbe79e64ea8ac5))
205
261
 
206
262
  ## [3.0.2](https://github.com/R-Vision/rsdk/compare/v3.0.1...v3.0.2) (2023-08-07)
207
263
 
@@ -211,13 +267,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
211
267
 
212
268
  ### Bug Fixes
213
269
 
214
- * **deps:** correctly peerDependencies ([349628f](https://github.com/R-Vision/rsdk/commit/349628f10da46a30d6c8b9f9387e010869318212))
270
+ * **deps:** correctly
271
+ peerDependencies ([349628f](https://github.com/R-Vision/rsdk/commit/349628f10da46a30d6c8b9f9387e010869318212))
215
272
 
216
273
  ## [3.0.1-next.0](https://github.com/R-Vision/rsdk/compare/v3.0.0...v3.0.1-next.0) (2023-08-07)
217
274
 
218
275
  ### Bug Fixes
219
276
 
220
- * **deps:** correctly peerDependencies ([7483e35](https://github.com/R-Vision/rsdk/commit/7483e3560b5cf23ebebe6149bd41ebb517821e99))
277
+ * **deps:** correctly
278
+ peerDependencies ([7483e35](https://github.com/R-Vision/rsdk/commit/7483e3560b5cf23ebebe6149bd41ebb517821e99))
221
279
 
222
280
  ## [3.0.0](https://github.com/R-Vision/rsdk/compare/v3.0.0-next.0...v3.0.0) (2023-08-04)
223
281
 
@@ -339,7 +397,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
339
397
 
340
398
  ### Bug Fixes
341
399
 
342
- * remove private dependencies from `peerDependencies` section ([0bce6ff](https://github.com/R-Vision/rsdk/commit/0bce6ffb5b699e2ed1dc9aca77cbdbf085267ff7))
400
+ * remove private dependencies from `peerDependencies`
401
+ section ([0bce6ff](https://github.com/R-Vision/rsdk/commit/0bce6ffb5b699e2ed1dc9aca77cbdbf085267ff7))
343
402
 
344
403
  ## 1.0.11 (2023-05-23)
345
404
 
@@ -349,4 +408,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
349
408
 
350
409
  ### Bug Fixes
351
410
 
352
- * add "access: public" to new packages ([04d5983](https://github.com/R-Vision/rsdk/commit/04d5983cfa3e97c5d8219e07208a0499a8c6bc83))
411
+ * add "access: public" to new
412
+ packages ([04d5983](https://github.com/R-Vision/rsdk/commit/04d5983cfa3e97c5d8219e07208a0499a8c6bc83))
@@ -1 +1 @@
1
- {"version":3,"file":"events-factory.abstract.js","sourceRoot":"","sources":["../src/events-factory.abstract.ts"],"names":[],"mappings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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.8",
3
+ "version": "4.0.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.6",
18
- "@rsdk/core": "^4.0.0-next.8",
19
- "@rsdk/kafka.common": "^4.0.0-next.8",
20
- "@rsdk/logging": "^4.0.0-next.6",
17
+ "@rsdk/common": "^4.0.0",
18
+ "@rsdk/core": "^4.0.0",
19
+ "@rsdk/kafka.common": "^4.0.0",
20
+ "@rsdk/logging": "^4.0.0",
21
21
  "lodash": "^4.17.21",
22
22
  "reflect-metadata": "^0.1.13",
23
23
  "rxjs": "^7.0.0"
24
24
  },
25
- "gitHead": "bae7c74fc8be068b8bd66b403d19e2b32cf092ec"
25
+ "gitHead": "e38e5b762d2c4aab277f0f65a5be5abcbccba8a8"
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');