kafka-ts 1.1.3-beta.0 → 1.1.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/dist/api/fetch.js +1 -3
- package/package.json +2 -2
package/dist/api/fetch.js
CHANGED
|
@@ -4,7 +4,6 @@ exports.FETCH = void 0;
|
|
|
4
4
|
const api_1 = require("../utils/api");
|
|
5
5
|
const decoder_1 = require("../utils/decoder");
|
|
6
6
|
const error_1 = require("../utils/error");
|
|
7
|
-
const logger_1 = require("../utils/logger");
|
|
8
7
|
exports.FETCH = (0, api_1.createApi)({
|
|
9
8
|
apiKey: 1,
|
|
10
9
|
apiVersion: 15,
|
|
@@ -85,8 +84,7 @@ const decodeRecordBatch = (decoder) => {
|
|
|
85
84
|
continue;
|
|
86
85
|
}
|
|
87
86
|
if (!recordBatchDecoder.canReadBytes(batchLength)) {
|
|
88
|
-
//
|
|
89
|
-
logger_1.log.debug('Record batch is incomplete, skipping last batch.');
|
|
87
|
+
// running into maxBytes limit
|
|
90
88
|
recordBatchDecoder.read();
|
|
91
89
|
continue;
|
|
92
90
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kafka-ts",
|
|
3
|
-
"version": "1.1.3
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"author": "Priit Käärd",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/node": "^20.12.12",
|
|
24
24
|
"prettier": "^3.3.3",
|
|
25
25
|
"typescript": "^5.4.5",
|
|
26
|
-
"vitest": "^1.6.
|
|
26
|
+
"vitest": "^1.6.1"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"kafka",
|