File tree Expand file tree Collapse file tree 4 files changed +80
-8
lines changed
Expand file tree Collapse file tree 4 files changed +80
-8
lines changed Original file line number Diff line number Diff line change 1+ # Created by .ignore support plugin (hsz.mobi)
2+ # ## Node template
3+ # Logs
4+ logs
5+ * .log
6+ npm-debug.log *
7+ yarn-debug.log *
8+ yarn-error.log *
9+
10+ # Runtime data
11+ pids
12+ * .pid
13+ * .seed
14+ * .pid.lock
15+
16+ # Directory for instrumented libs generated by jscoverage/JSCover
17+ lib-cov
18+
19+ # Coverage directory used by tools like istanbul
20+ coverage
21+
22+ # nyc test coverage
23+ .nyc_output
24+
25+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+ .grunt
27+
28+ # Bower dependency directory (https://bower.io/)
29+ bower_components
30+
31+ # node-waf configuration
32+ .lock-wscript
33+
34+ # Compiled binary addons (https://nodejs.org/api/addons.html)
35+ build /Release
36+
37+ # Dependency directories
38+ node_modules /
39+ jspm_packages /
40+
41+ # Typescript v1 declaration files
42+ typings /
43+
44+ # Optional npm cache directory
45+ .npm
46+
47+ # Optional eslint cache
48+ .eslintcache
49+
50+ # Optional REPL history
51+ .node_repl_history
52+
53+ # Output of 'npm pack'
54+ * .tgz
55+
56+ # Yarn Integrity file
57+ .yarn-integrity
58+
59+ # dotenv environment variables file
60+ .env
61+
62+ # next.js build output
63+ .next
64+
65+ .idea
Original file line number Diff line number Diff line change 1- Prereq:
1+ # Node Client for MapR Streams
2+
3+ A simple node-js client for MapR Streams using librdkafka C API
4+
5+ Pre-req:
26---------
37
48node v9.10.0<br >
59mapr-client v6.0.1<br >
610
711Run:<br >
812-----------
9- export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/mapr/lib
10- node-gyp clean< br >
11- node-gyp configure< br >
12- node-gyp build< br >
13- node index.js
13+
14+ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/mapr/lib
15+ npm install
16+ npm run build
17+ ./bin/test-run
1418
1519Example Output:<br >
1620--------------
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ require ( 'source-map-support' ) . install ( ) ;
3+ require ( '../index' ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " mapr-streams-c" ,
33 "version" : " 1.0.0" ,
4- "description" : " Sanity to check if primitive wrappers can be built for mapr-streams and mapr-librdkafka with node " ,
4+ "description" : " Node client for mapr-streams with mapr-librdkafka" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "start " : " node-gyp configure build && node index.js " ,
7+ "build " : " node-gyp configure build" ,
88 "test" : " echo \" Error: no test specified\" && exit 1"
99 },
1010 "author" : " Shayan Sinha" ,
You can’t perform that action at this time.
0 commit comments