Blizzard / Blizzard/node-rdkafka
With reference to issue #481, the suggested solution fails with 'fatal error: 'rdkafkacpp.h' file not found'
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
**Environment Information**
- OS [Mac M1]:
- Node Version [v14.17.5]:
- NPM Version [6.14.14]:
- C++ Toolchain [Visual Studio]:
**Steps to Reproduce**
npm install node-rdkafka
**Additional context**
While trying to install node-rdkafka, faced[ this issue](https://github.com/Blizzard/node-rdkafka/issues/481) & tried the solution, but now there's a linking issue.
The error states:
~/node_modules/node-rdkafka/src/binding.h:15:10: fatal error: 'rdkafkacpp.h' file not found
#include "rdkafkacpp.h"
^~~~~~~~~~~~~~
Contributor guide
Research direction
Start by reproducing npm install node-rdkafka on the reported Mac M1 environment and read src/binding.h, where the missing rdkafkacpp.h include is shown. Review issue #481 and the node-rdkafka installation path to determine whether the required Kafka native headers are located. Done means installation completes without the reported missing-header error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, kafka, nodejs
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100