Manage Functions in Couchbase

This course explores the management of an eventing function in Couchbase throughout its life - from debugging during development to disabling them temporarily, monitoring their state and porting them to other environments.
Course info
Level
Intermediate
Updated
May 6, 2020
Duration
2h 17m
Table of contents
Description
Course info
Level
Intermediate
Updated
May 6, 2020
Duration
2h 17m
Description

The Couchbase eventing service allows us to respond to changes made to data through the medium of eventing functions. Like any application, these functions need to be developed and then maintained until they have served their purpose. This course, Manage Functions in Couchbase, explores the various phases and transitions in a function’s lifecycle, the use of the debugger during its development, and porting them between environments using the export and import features. First, you will learn how to create a simple eventing function, which processes mutations in a source bucket. You will then invoke a variety of transitions on the function, and look at how this affects the ability of the function to process events, performing these operations using the Couchbase UI, and how these can be done programmatically using the Couchbase CLI and the REST API. You will then move on to monitoring functions using both the application logs, which are unique to each function and the system log maintained by the Couchbase eventing service. There are also labs on using the built-in Couchbase debugger to get to the heart of issues in the function code. Finally, you will explore the use of the export/import feature for eventing functions which allow us to port them from one environment to another and to record their history in a version control system. At the end of this course, you will be well-versed with the phases in the life of an eventing function in Couchbase - from their development and deployment, to their maintenance and porting in different environments.

About the author
About the author

An engineer at heart, I am drawn to any interesting technical topic. Big Data, ML and Cloud are presently my topics of interest.

More from the author
Configure Functions in Couchbase
Beginner
2h 6m
May 7, 2020
Debug and Monitor Functions in Couchbase
Intermediate
2h 20m
May 6, 2020
More courses by Kishan Iyer
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] hi and welcome to this course manage functions in college base. My name is Keisha Year and I will be your instructor for the course a little about my fell first. I have a masters degree in computer science from Columbia University on have previously worked in companies such as Deutsche Bank and WebMD in New York. I presently work for Looney Con, a studio for high quality video content. Coach Bass Eventing service allows us to respond to changes made to data through the medium off eventing functions. Like any application, these functions need to be developed and then maintain until they have served their purpose. This course is into the various fetus on transitions in a function life cycle the youth of the D ______ during its development, importing them between environments, using the export and import features. We begin by creating a simple eventing function which processes mutations in a source pocket. We then involved a variety of transitions on the function and look at how this affect the ability of the function to process events. We performed these operations using the couch with you. I on also cover how this can be done programmatically using the Couch Basie ally on dressed FBI. We move on then to monitoring functions using both the application logs, which are unique to each function on the system log mean in by the couch with eventing service. There are also labs on using the building Couch _____ ______ to get to the heart off issues in the function code. Finally, we explore the youth of the export and import feature for eventing functions, which allow us to put them from one environment to another on also to record the history in a version control system. At the end of the course, you will be well versed in the favors in the life, often event in function in couch base from the development and deployment to the maintenance and putting two different environments.