@@ -245,6 +245,47 @@ jobs:
245
245
- run : yarn test:plugins:ci
246
246
- uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
247
247
248
+ confluentinc-kafka-javascript :
249
+ strategy :
250
+ matrix :
251
+ # using node versions matrix since this plugin testing fails due to install differences between node versions
252
+ node-version : ['18', '20', '22']
253
+ runs-on : ubuntu-latest
254
+ services :
255
+ kafka :
256
+ image : apache/kafka-native:3.8.0-rc2
257
+ env :
258
+ KAFKA_PROCESS_ROLES : broker,controller
259
+ KAFKA_NODE_ID : ' 1'
260
+ KAFKA_LISTENERS : PLAINTEXT://:9092,CONTROLLER://:9093
261
+ KAFKA_CONTROLLER_QUORUM_VOTERS : 1@127.0.0.1:9093
262
+ KAFKA_CONTROLLER_LISTENER_NAMES : CONTROLLER
263
+ KAFKA_CLUSTER_ID : r4zt_wrqTRuT7W2NJsB_GA
264
+ KAFKA_ADVERTISED_LISTENERS : PLAINTEXT://127.0.0.1:9092
265
+ KAFKA_INTER_BROKER_LISTENER_NAME : PLAINTEXT
266
+ KAFKA_LISTENER_SECURITY_PROTOCOL_MAP : CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
267
+ KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR : ' 1'
268
+ KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS : ' 0'
269
+ ports :
270
+ - 9092:9092
271
+ - 9093:9093
272
+ env :
273
+ PLUGINS : confluentinc-kafka-javascript
274
+ SERVICES : kafka
275
+ steps :
276
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
277
+ - uses : ./.github/actions/testagent/start
278
+ - uses : actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
279
+ with :
280
+ node-version : ${{ matrix.node-version }}
281
+ - uses : ./.github/actions/install
282
+ - run : yarn test:plugins:ci
283
+ - if : always()
284
+ uses : ./.github/actions/testagent/logs
285
+ with :
286
+ suffix : plugins-${{ github.job }}-${{ matrix.node-version }}
287
+ - uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
288
+
248
289
cookie-parser :
249
290
runs-on : ubuntu-latest
250
291
env :
0 commit comments