axelrose commented on issue #221: Unable to create trigger from openwhisk kafka feed that listens to a Generic Kafka instance in a Local ubuntu installation URL: https://github.com/apache/incubator-openwhisk-package-kafka/issues/221#issuecomment-483198004 Hello all, I might have a similar issue but not sure. This is what I'm doing: ``` $ ./installKafka.sh $AUTHSYS $EDGEHOST $DB_URL_FULL $DB_PREFIX $APIHOST $ docker run -id -e DB_PREFIX=$DB_PREFIX -e DB_URL=$DB_URL -e DB_USER=$DB_USER -e DB_PASS=$DB_PASS -e LOCAL_DEV=true -p 81:5000 kafkafeedprovider ``` docker logs to running container looks healthy ``` $ wsk -i --auth $AUTH trigger create my-trigger -f /whisk.system/messaging/kafkaFeed -p brokers $WSK_IP:9099 -p topic billing -p isJSONData True { "activationId": "443a9c11125d47f8ba9c11125d87f8ec", "annotations": [ { "key": "path", "value": "whisk.system/messaging/kafkaFeed" }, { "key": "waitTime", "value": 76 }, { "key": "kind", "value": "nodejs:6" }, { "key": "timeout", "value": false }, { "key": "limits", "value": { "concurrency": 1, "logs": 10, "memory": 256, "timeout": 60000 } }, { "key": "initTime", "value": 401 } ], "duration": 1368, "end": 1555324127661, "logs": [], "name": "kafkaFeed", "namespace": "guest", "publish": false, "response": { "result": { "error": "TypeError: Cannot read property 'split' of null" }, "status": "application error", "success": false }, "start": 1555324126293, "subject": "guest", "version": "0.0.1" } { "activationId": "2c42d29ec43746aa82d29ec43706aa4a", "annotations": [ { "key": "path", "value": "whisk.system/messaging/kafkaFeed" }, { "key": "waitTime", "value": 157 }, { "key": "kind", "value": "nodejs:6" }, { "key": "timeout", "value": false }, { "key": "limits", "value": { "concurrency": 1, "logs": 10, "memory": 256, "timeout": 60000 } } ], "duration": 277, "end": 1555324128135, "logs": [], "name": "kafkaFeed", "namespace": "guest", "publish": false, "response": { "result": { "error": "TypeError: Cannot read property 'split' of null" }, "status": "application error", "success": false }, "start": 1555324127858, "subject": "guest", "version": "0.0.1" } ok: deleted trigger my-trigger ``` `"error": "TypeError: Cannot read property 'split' of null"` sounds like some JavaScript error. What could I do? Thanks for your time, Axel.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
