You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/08/14 07:48:18 UTC

[GitHub] SchuhMichael commented on issue #221: Unable to create trigger from openwhisk kafka feed that listens to a Generic Kafka instance in a Local ubuntu installation

SchuhMichael 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-412784898
 
 
   I had similar problems and finally found that the **kafkafeedprovider** dropped incoming packages, because I forgot to set `LOCAL_DEV=true`. When I run it like in the following example, everything works as expected. 
   ```
   APIHOST=$LOCAL_ADDRESS
   EDGEHOST=$LOCAL_ADDRESS
   LOCAL_DEV=true
   DB_PREFIX=whisk_local_
   DB_USER=whisk_admin
   DB_PASS=some_passw0rd
   DB_URL=http://$LOCAL_ADDRESS:5984
   DB_URL_FULL=http://$DB_USER:$DB_PASS@$LOCAL_ADDRESS:5984
   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=$LOCAL_DEV -p 81:5000 kafkafeedprovider
   ```
   This is from the working example [https://github.com/SchuhMichael/dCache-FaaS-Tutorial](here)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services