"Alpaka" is a communicator between user space and kernel (and vice versa). E.g. it creates a message defined by a user/developer with a specific parameters that Kernel module(s) expected to understand.
sudo apt install python3-pip
pip3 git+https://github.com/linux-genz/[email protected]
Create a class and inherite from alpaka.Messenger. Then, override "build_msg(self, **kwargs)" function and use the object as follows:
zoo = Journal.mainapp.zookeeper
msg = zoo.build_msg(cmd=zoo.cfg.get('ADD'), arg_one="some value", arg_two="other value", anything_else="yet another")
retval = zoo.sendmsg(msg)