Skip to content

Commit a64751b

Browse files
committed
4.0.0
1 parent 68f00e4 commit a64751b

File tree

6 files changed

+54
-37
lines changed

6 files changed

+54
-37
lines changed

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
# Changelog
22

3-
## 2020-02-20, Version: 3.9.0
3+
## 2020-02-24, Version: 4.0.0
44

55
* upgraded dependencies
6-
* JSConsumer and JSProducer are now the default clients, replacing the native versions
6+
7+
### A note on native mode
8+
9+
If you are using the native mode (`config: { noptions: {} }`).
10+
You will have to manually install `node-rdkafka` alongside kafka-connect.
11+
(This requires a Node.js version between 9 and 12 and will not work with Node.js >= 13, last tested with 12.16.1)
12+
13+
On Mac OS High Sierra / Mojave:
14+
`CPPFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib yarn add --frozen-lockfile [email protected]`
15+
16+
Otherwise:
17+
`yarn add --frozen-lockfile [email protected]`
18+
19+
(Please also note: Doing this with npm does not work, it will remove your deps, `npm i -g yarn`)
720

821
## 2019-05-07, Version: 3.8.0
922

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ data from a kafka topic into a datastore.
2525
- ships with auto http server (health-checks, kafka-stats)
2626
- ships with auto metrics (prometheus)
2727

28+
## A note on native mode
29+
30+
If you are using the native mode (`config: { noptions: {} }`).
31+
You will have to manually install `node-rdkafka` alongside kafka-connect.
32+
(This requires a Node.js version between 9 and 12 and will not work with Node.js >= 13, last tested with 12.16.1)
33+
34+
On Mac OS High Sierra / Mojave:
35+
`CPPFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib yarn add --frozen-lockfile [email protected]`
36+
37+
Otherwise:
38+
`yarn add --frozen-lockfile [email protected]`
39+
40+
(Please also note: Doing this with npm does not work, it will remove your deps, `npm i -g yarn`)
41+
2842
## Available Connector Implementations
2943

3044
* [Sequelize (MySQL, Postgres, SQLite, MSSQL)](https://github.com/nodefluent/sequelize-kafka-connect)
@@ -35,7 +49,7 @@ data from a kafka topic into a datastore.
3549
## Creating custom Connectors
3650

3751
```
38-
npm install --save kafka-connect
52+
yarn add kafka-connect
3953
```
4054

4155
```es6

lib/sink/SinkConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
const Promise = require("bluebird");
4-
const { Consumer, JSConsumer: NConsumer } = require("sinek");
4+
const { Consumer, NConsumer } = require("sinek");
55
const debug = require("debug")("kafka-connect:sinkconfig");
66

77
const Config = require("./../common/Config.js");

lib/source/SourceConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
const Promise = require("bluebird");
4-
const { Producer, JSProducer: NProducer } = require("sinek");
4+
const { Producer, NProducer } = require("sinek");
55
const async = require("async");
66

77
const Config = require("./../common/Config.js");

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kafka-connect",
3-
"version": "3.9.0",
3+
"version": "4.0.0",
44
"description": "kafka-connect is a framework to move data via kafka",
55
"main": "index.js",
66
"typings": "index.d.ts",
@@ -32,13 +32,13 @@
3232
},
3333
"homepage": "https://github.com/nodefluent/kafka-connect#readme",
3434
"dependencies": {
35-
"async": "~3.1.1",
35+
"async": "~3.2.0",
3636
"bluebird": "~3.7.2",
3737
"body-parser": "~1.19.0",
3838
"debug": "~4.1.1",
3939
"express": "~4.17.1",
4040
"prom-client": "~12.0.0",
41-
"sinek": "~8.2.0"
41+
"sinek": "~9.0.0"
4242
},
4343
"devDependencies": {
4444
"coveralls": "~3.0.9",
@@ -47,4 +47,4 @@
4747
"mocha-lcov-reporter": "~1.3.0",
4848
"request": "~2.88.2"
4949
}
50-
}
50+
}

yarn.lock

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ async@^2.6.2:
119119
dependencies:
120120
lodash "^4.17.14"
121121

122-
async@~3.1.1:
123-
version "3.1.1"
124-
resolved "https://registry.yarnpkg.com/async/-/async-3.1.1.tgz#dd3542db03de837979c9ebbca64ca01b06dc98df"
125-
integrity sha512-X5Dj8hK1pJNC2Wzo2Rcp9FBVdJMGRR/S7V+lH46s8GVFhtbo5O4Le5GECCF/8PISVdkUA6mMPvgz7qTTD1rf1g==
122+
async@~3.2.0:
123+
version "3.2.0"
124+
resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720"
125+
integrity sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==
126126

127127
asynckit@^0.4.0:
128128
version "0.4.0"
@@ -918,10 +918,10 @@ ini@~1.3.0:
918918
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
919919
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
920920

921-
922-
version "1.9.0"
923-
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
924-
integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==
921+
922+
version "1.9.1"
923+
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3"
924+
integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==
925925

926926
is-binary-path@~2.1.0:
927927
version "2.1.0"
@@ -1320,14 +1320,6 @@ [email protected]:
13201320
object.getownpropertydescriptors "^2.0.3"
13211321
semver "^5.7.0"
13221322

1323-
node-rdkafka@~2.7.4:
1324-
version "2.7.4"
1325-
resolved "https://registry.yarnpkg.com/node-rdkafka/-/node-rdkafka-2.7.4.tgz#b777f5ba9dd08578c6f1d4fe58d51f3c13372413"
1326-
integrity sha512-415Hfu2SkAo9+mSj3xxw+dHwJqC0jRY0D/OKqUdPfvEE1r4p+N0OfbsAmmSR5FSxZFRFTY3j+/tGntp6ssqHWw==
1327-
dependencies:
1328-
bindings "^1.3.1"
1329-
nan "^2.14.0"
1330-
13311323
noop-logger@^0.1.1:
13321324
version "0.1.1"
13331325
resolved "https://registry.yarnpkg.com/noop-logger/-/noop-logger-0.1.1.tgz#94a2b1633c4f1317553007d8966fd0e841b6a4c2"
@@ -1525,12 +1517,12 @@ prom-client@~12.0.0:
15251517
tdigest "^0.1.1"
15261518

15271519
proxy-addr@~2.0.5:
1528-
version "2.0.5"
1529-
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34"
1530-
integrity sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==
1520+
version "2.0.6"
1521+
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.6.tgz#fdc2336505447d3f2f2c638ed272caf614bbb2bf"
1522+
integrity sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==
15311523
dependencies:
15321524
forwarded "~0.1.2"
1533-
ipaddr.js "1.9.0"
1525+
ipaddr.js "1.9.1"
15341526

15351527
psl@^1.1.28:
15361528
version "1.7.0"
@@ -1738,22 +1730,20 @@ simple-get@^3.0.3:
17381730
once "^1.3.1"
17391731
simple-concat "^1.0.0"
17401732

1741-
sinek@~8.2.0:
1742-
version "8.2.0"
1743-
resolved "https://registry.yarnpkg.com/sinek/-/sinek-8.2.0.tgz#8a0c137db4a70d93a8423ce85ae9a53e0cb758b2"
1744-
integrity sha512-V56UOKrlBrQVUjsTe+kD6+/tsVcFGfVUX1YmaxI56ad01A+Uh4ETIhTu3yRzVLZcIEO4yVf7wadwK0cVCe8png==
1733+
sinek@~9.0.0:
1734+
version "9.0.0"
1735+
resolved "https://registry.yarnpkg.com/sinek/-/sinek-9.0.0.tgz#0a5ada279b0a77f79c8dc88e27ea72d37c7e46d8"
1736+
integrity sha512-W9DH4KyPcsUcNfVKYpt0/Qk1RqABhkp8oqvNlt8JOuj31UWL7gvnc21849jn0GpYlE9rIR84DSKR72jdNuKlcg==
17451737
dependencies:
1746-
async "~3.1.1"
1738+
async "~3.2.0"
17471739
bluebird "~3.7.2"
17481740
debug "~4.1.1"
1741+
kafka-node "~5.0.0"
17491742
kafkajs "1.12.0"
17501743
lodash.merge "~4.6.2"
17511744
murmur2-partitioner "~1.0.0"
17521745
murmurhash "~0.0.2"
17531746
uuid "~3.4.0"
1754-
optionalDependencies:
1755-
kafka-node "~5.0.0"
1756-
node-rdkafka "~2.7.4"
17571747

17581748
snappy@^6.0.1:
17591749
version "6.2.3"

0 commit comments

Comments
 (0)