Hi Ankit!
For function execution, I'd point you to the geode examples repo which has a
simple example for functions [1]. Once you see how that works, it should be
fairly straight forward to integrate the code you linked. When using functions,
there are a couple of things to be aware of:
Your f
The doc you are pointing; tries to create region using Functions.
You can use the samples given there and modify as per your requirement or
create a new one.
Here is reference doc about function execution:
https://geode.apache.org/docs/guide/14/developing/function_exec/function_execution.html
Th