-
Notifications
You must be signed in to change notification settings - Fork 78
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
kafka subscriber: "Trigger factory not registered" #87
Comments
I know that there is an existing issue: TIBCOSoftware/flogo-cli#49 whereby the build fails unless you specify -sp for skip prepare. Unfortunately for newly contributed triggers (like kafka) this causes the imports.go file (in the app src dir) not to get updated, and hence when the app is run the trigger is not registered. |
What platform are you using? the -sp is not required on Mac. We are currently testing this on linux. |
There is a bug that the proper imports do not get generated if the name of your app in flogo.json does not match the source structure that was generated on creation of the app. Make sure that name matches the directory name generated under "src". |
Indeed, adding the kafkasub entry manually into imports.go solves the problem. |
Wiring up the kafkasub with a simple logger activity, I get the following error. The application doesn't even start up:
This file flogo.json.txt was used for the app.
The text was updated successfully, but these errors were encountered: