2019-03-25 08:50:50 UTC - Adam Varsano: Hi, I have openwhisk system running and working. I also of RabbitMQ broker that publish messages, what is the best practice to create subscriber for that rabbitMQ and invoke actions? is it possible by Webhook? Trigger?
Thanks https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553503850387500 ---- 2019-03-25 08:53:18 UTC - Dominic Kim: You might be interested in <https://github.com/apache/incubator-openwhisk-package-kafka> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553503998387800 ---- 2019-03-25 08:55:59 UTC - Dominic Kim: If you are trying to define a feed, that would be useful. 100 : Roberto Diaz https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553504159390000?thread_ts=1553504159.390000&cid=C3TPCAQG1 ---- 2019-03-25 08:57:01 UTC - Roberto Diaz: I think that a feed could be a good option https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553504221391100?thread_ts=1553504221.391100&cid=C3TPCAQG1 ---- 2019-03-25 08:57:12 UTC - Roberto Diaz: and using a trigger the simplest one +1 : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553504232391500 ---- 2019-03-25 08:59:30 UTC - Adam Varsano: thanks https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553504370391800 ---- 2019-03-25 09:15:50 UTC - Adam Varsano: Hi, according to your link: <https://github.com/apache/incubator-openwhisk-package-kafka/blob/master/provider/consumer.py> it seems like they have code that is always up and subscribe to kafka. I don't think the best practice in openwhisk is to create service that always up, but use the build in objects (triggers/ actions/ ...) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553505350391900?thread_ts=1553504159.390000&cid=C3TPCAQG1 ---- 2019-03-25 09:17:34 UTC - Adam Varsano: But need some subscriber to listen the broker, how should I create the subscriber? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553505454392100?thread_ts=1553504221.391100&cid=C3TPCAQG1 ---- 2019-03-25 09:24:20 UTC - Roberto Diaz: yes! you should implement some logic. I have seen it for register database changes. I don't know if it could help you <https://console.bluemix.net/docs/openwhisk/openwhisk_feeds.html#openwhisk_feeds> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553505860392300?thread_ts=1553504221.391100&cid=C3TPCAQG1 ---- 2019-03-25 09:35:34 UTC - Dominic Kim: I think you have two options. If you are trying to build a general-purpose pipeline, you need a feed. Since Kafka does not support webhook, that relies on long-running service to subscribe to events from Kafka and invoke triggers or actions. If you want a feed, you may refer to many parts in that repo but replacing the long-running service to calling webhook. And if you just want to invoke your own triggers or actions in response to the event from RabbitMQ, you can just configure your trigger or action URL in webhook of RabbitMQ. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553506534392700?thread_ts=1553504159.390000&cid=C3TPCAQG1 ---- 2019-03-25 11:41:36 UTC - Michele Sciabarra: Learning Apache OpenWhisk Final Manuscript *DELIVERED* OpenWhisk will get very soon a printed book from O'Reilly... tada : Roberto Diaz, James Thomas, Neeraj Mangal, Martin Henke, Carlos Santana rocket : Roberto Diaz, James Thomas, chetanm +1 : Wilfried Wu, mmarth https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553514096393400?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 11:42:03 UTC - Michele Sciabarra: at the moment 420 pages https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553514123393900 ---- 2019-03-25 11:45:04 UTC - Roberto Diaz: wow!! really nice congrats!!! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553514304394500?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 11:46:05 UTC - Michele Sciabarra: one year of work https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553514365394800 ---- 2019-03-25 11:59:09 UTC - Michele Sciabarra: thx! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553515149395000?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 12:23:08 UTC - James Thomas: congrats - this is awesome https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553516588395400?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 14:02:56 UTC - Rodric Rabbah: excellent and congrats on the milestone https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553522576396500?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 14:03:22 UTC - James Thomas: <http://apache.jamesthom.as/> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553522602396800 ---- 2019-03-25 14:03:38 UTC - James Thomas: ^^ apache openwhisk release candidate verification tool https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553522618397200 ---- 2019-03-25 14:03:45 UTC - James Thomas: saves you running all those manual steps to verify releases :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553522625397500 ---- 2019-03-25 14:04:26 UTC - James Thomas: source @ <https://github.com/jthomas/openwhisk-release-verification> static front-end talks to openwhisk actions in the backend. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553522666397900?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 14:07:35 UTC - chetanm: congratulations Michele! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553522855398100?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 14:29:37 UTC - Michele Sciabarra: Thanks you to all! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553524177398300?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 14:36:46 UTC - Rodric Rabbah: also my `rcverify.sh` bash script <https://gist.github.com/rabbah/0f9e138c9088758c30fe31f05b893041> (fyi @chetanm) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553524606398800?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:51:26 UTC - chetanm: Can we add this to <https://github.com/apache/incubator-openwhisk-utilities> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525486399000?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:53:40 UTC - Rodric Rabbah: i opened <https://github.com/apache/incubator-openwhisk-release/pull/254> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525620399200?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:53:48 UTC - Rodric Rabbah: do you think utilities is better place for it? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525628399400?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:54:03 UTC - chetanm: nopes release is the right place for this https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525643399600?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:54:06 UTC - chetanm: Would give it a try https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525646399800?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:54:40 UTC - Rodric Rabbah: you can see in my vote response how i used it … feedback and improvements welcome of course https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525680400000?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:55:12 UTC - Rodric Rabbah: @James Thomas i hope you dont mind i shared the link on the dev list https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525712400200?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 14:58:54 UTC - chetanm: Just used and works as expected! yay : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525934400400?thread_ts=1553524606.398800&cid=C3TPCAQG1 ---- 2019-03-25 14:59:32 UTC - James Thomas: perfect - I was meaning to share it. joy of serverless is that is costs me nothing to run :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553525972400600?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 15:00:48 UTC - Rodric Rabbah: :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553526048400800?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 15:01:20 UTC - Rodric Rabbah: i opened some issues as suggestions or enhancements, please don’t feel the need to address any of them… i can serverless too and know how to PR :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553526080401000?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 15:27:36 UTC - James Thomas: that’s great - i had a few ideas for things I want to add that I meant to open as issues. happy to accept PRs :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553527656401300?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 15:27:59 UTC - James Thomas: just updating the readme with instructions on deployment https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553527679401500?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 15:29:08 UTC - James Thomas: I also want the tool to be able to generate the VOTE text yay : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553527748401700?thread_ts=1553522666.397900&cid=C3TPCAQG1 ---- 2019-03-25 16:04:03 UTC - Cole Harper: I have OW setup locally on docker for windows running a single node kubernetes cluster. Now that the setup is complete, where would I start to find best practices for the development workflow i.e should developers even run OW locally, or should actions be tested locally somehow and then deployed an OW dev cluster with CI? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553529843404900 ---- 2019-03-25 16:20:17 UTC - Martin Henke: congrats Michele! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553530817405100?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 16:23:49 UTC - James Thomas: @Cole Harper :wave: dev workflow is a bit of a hot topic in serverless land… personally - I wouldn’t expect most devs to run OW locally for testing & dev. I use wrapper scripts to simulate being called locally through my test framework and then do some higher-level int tests against live actions deployed to a dev workspace. for production - you’d deploy through a CI/CD system https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531029406700?thread_ts=1553531029.406700&cid=C3TPCAQG1 ---- 2019-03-25 16:23:55 UTC - James Thomas: with automated tests etc… https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531035406900 ---- 2019-03-25 16:24:15 UTC - Carlos Santana: Very nice @Michele Sciabarra great milestone :tada: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531055407000?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 16:24:49 UTC - Michele Sciabarra: thank you https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531089407400?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 16:30:27 UTC - Cole Harper: @James Thomas Thanks that is good to know... Any resources I can review for the pattern you described? Would the serverless framework be helpful in this regard? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531427409300 ---- 2019-03-25 16:31:18 UTC - James Thomas: I think the sls fw is helpful as it has a `sls invoke local` command to automate local testing (but I am the maintainer so would say that…) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531478409900 ---- 2019-03-25 16:39:36 UTC - Roberto Diaz: one question, why not use the awesome local env? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553531976413400?thread_ts=1553531029.406700&cid=C3TPCAQG1 ---- 2019-03-25 16:40:17 UTC - Cole Harper: Thanks for the help. For feedback; I might be missing somethig but this seems to be a bit of a "gap" for a developer like myself to understand with openwhisk vs openfaas and fission (that I am also evaluating). I don't want to come off wrong just some newbie perspective. I will give the it a go with the sls fw. Thanks again! +1 : James Thomas https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553532017413900 ---- 2019-03-25 16:55:38 UTC - Rodric Rabbah: Welcome @Cole Harper. It will be great to hear your perspectives and feedback. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553532938415100 ---- 2019-03-25 17:56:50 UTC - Wilfried Wu: Very excited about that news. I'm desperate for a reference book like that. It's not easy for rookies like me to start learning this stuff, to be honest. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553536610415400?thread_ts=1553514096.393400&cid=C3TPCAQG1 ---- 2019-03-25 18:05:42 UTC - Rodric Rabbah: here’s the link <https://www.oreilly.com/library/view/learning-apache-openwhisk/9781492046158/> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1553537142415800?thread_ts=1553514096.393400&cid=C3TPCAQG1 ----