Skip to content
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

Running ml-api-adapter as node application #544

Closed
DonChangfoot opened this issue Dec 12, 2018 · 1 comment
Closed

Running ml-api-adapter as node application #544

DonChangfoot opened this issue Dec 12, 2018 · 1 comment
Assignees

Comments

@DonChangfoot
Copy link

I am trying to run the ml-api-adapter as a node application. I have managed to run npm install and npm rebuild successfully. When I start the application, I run into a segmentation fault when the notification consumer is starting up.

http://sportraxs-HP-EliteBook-8460w:3000
  GET    /                              Metadata
  GET    /documentation                 
  GET    /health                        Status of adapter
  GET    /swagger.json                  
  GET    /swaggerui/{path*}             
  GET    /swaggerui/extend.js           
  POST   /transfers                     Transfer API.
  PUT    /transfers/{id}                Fulfil a transfer

2018-12-12T07:35:54.504Z - info: Notification::startConsumer
2018-12-12T07:35:54.507Z - info: Notification::startConsumer::topicName: topic-notification-event
2018-12-12T07:35:54.507Z - info: Notification::startConsumer::Consumer: new
Segmentation fault (core dumped)
@DonChangfoot
Copy link
Author

seems like it had something to do with accessing librdkafka.so.1 shared object. Found a solution here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants