Couchbase includes a variety of options to define and configure and define functions for users to get the most out of them. This course covers configurable properties such as logging levels and development features such as timers.
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 configured correctly for users to get the most out of them.
In this course, Configure Functions in Couchbase, you’ll gain the ability to a simple function and explore a number of the function properties which can alter its behavior.
First, you’ll explore the log configurations which are available for functions.
Next, you’ll discover options for developing the code for eventing functions.
Finally, you’ll learn how to a crucial feature available in the eventing service.
When you’re finished with this course, you’ll have the skills and knowledge of configuration options needed to schedule functions for execution using timers.
What are functions in Couchbase?
Functions in Couchbase are part of the Eventing Service, which allow Couchbase to react to changes in data in real time.
Who is this course for?
This course is especially helpful for learners in the Leverage Search, Eventing, and Analytics Services in Couchbase Path.
What will I learn in this course?
Explore the log configurations which are available for functions, discover options for developing the code for eventing functions, learn crucial features available in the eventing service.
What prerequisites do I need?
It will help if you have a basic understanding of the N1QL query language since we will be running a handful of N1QL queries, and any prior experience with Couchbase will help.
Course Overview Hi, and welcome to this course, Configure Functions in Couchbase. My name is Kishan Iyer, and I will be your instructor for this course. A little about myself first. I have a masters degree in computer science from Columbia University and have previously worked in companies such as Deutsche Bank and WebMD in New York. I presently work for Loonycorn, a studio for high‑quality video content. The Couchbase Eventing Service allows us to respond to changes made to data through the medium of eventing functions. Like any application, these functions needs to be configured correctly for users to get the most out of them. This course explores various options available to define and fine‑tune eventing functions. We begin by creating a simple function and explore a number of the function properties which can alter its behavior, such as the number of workers and the function bindings. We also delve into the log configurations which are available for eventing functions. We then move on to the available options when developing the code for eventing functions, from the use of try/catch blocks to handle errors to the built‑in debugging feature, which can be enabled to get to the bottom of issues with deployed functions. We also cover the statistics available for functions to monitor their performance and point to where the functions or their environment can be tweaked. Finally, we cover a crucial feature available in the eventing service, the ability to create timers. These are functions which are scheduled to execute at a specific time in the future. We use timers to auto‑archive expiring documents just moments before they are removed from a bucket. At the end of this course, you will have a clear idea of the configuration options available for eventing functions in Couchbase, from logging to the number of workers. Furthermore, you will be familiar with the ability to schedule functions for execution using timers.