Testing the Kotlin function

Now that we have seen the basic anatomy of the Kotlin Lambda function after building it, we can go ahead and replace the Lambda function that was authored in Java previously from the console with the build/libs/greeter-1.0.0.jar package. The following screenshot shows the test run:

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.