Skip to content

Commit 6a519c2

Browse files
committed
fix: update version support in instrumentation.ts for KafkaJS
Ensure compatibility by restricting KafkaJS version support to >=0.3.0 <3.
1 parent 13b7435 commit 6a519c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/node/instrumentation-kafkajs/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class KafkaJsInstrumentation extends InstrumentationBase<KafkaJsInstrumen
7171

7272
const module = new InstrumentationNodeModuleDefinition(
7373
'kafkajs',
74-
['>=0.1.0 <3'],
74+
['>=0.3.0 <3'],
7575
(moduleExports: typeof kafkaJs) => {
7676
unpatch(moduleExports);
7777
this._wrap(

0 commit comments

Comments
 (0)