-
Notifications
You must be signed in to change notification settings - Fork 39
feat: added support for @confluentinc/kafka-javascript #2221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b494aa5 to
702163b
Compare
refs #2221 - we had no esm app for the Otel integration - proofed that it works
eb22ada to
3041691
Compare
| const globalAgent = require('../../globalAgent'); | ||
| const DELAY_TIMEOUT_IN_MS = 500; | ||
| const mochaSuiteFn = supportedVersion(process.versions.node) ? describe : describe.skip; | ||
| const agentControls = globalAgent.instance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
globalAgent.setUpCleanUpHooks();
const agentControls = globalAgent.instance;
Was defined in all test describes. Optimized. Can extract to main before merge.
| }, | ||
| "homepage": "https://github.com/instana/nodejs/blob/main/packages/core/README.md", | ||
| "dependencies": { | ||
| "@drazke/instrumentation-confluent-kafka-javascript": "https://github.com/kirrg001/instrumentation-confluent-kafka-javascript/archive/e75f8d34dd235133cc55774120cb302a539cb599.tar.gz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to figure out before merge. Native ESM support did not work. Had to fork.
refs https://jsw.ibm.com/browse/INSTA-66145
@confluentinc/kafka-javascriptworks out of the box, because we have support for kafkajs and rdkafka [does not work] - see https://github.com/confluentinc/confluent-kafka-javascript/blob/master/LICENSE.kafkajs