Hi,

I successfully created a Stateful function F that transforms incoming objects 
and writes them on a relational database. Function F is deployed as remote 
module. Everything looks fine.

Now, I want to split responsibilities by introducing an custom Egress E for the 
database while I refactor F to contain only the business logic.

It's not clear to me if the only way to deploy a custom egress is to use and 
embedded module because documentation states:

"Embedded modules allow users to load code into the Stateful Functions runtime 
that is executed directly within the cluster. This is usually to allow plugging 
in custom ingress and egress implementations. Additionally, and embedded module 
may include embedded functionsthat run within the cluster."

on the other side, the same documentation states
"Embedded modules should be used with care, they cannot be deployed or scaled 
without downtime and can effect the performance and stability of the entire 
cluster."

I want to stay away from the embedded way for the reasons stated in the 
documentation, so I have the following questions:

Is it possible to create and use a remote module egress?
If yes, are there any indications to be taken into account?
If no, what do you suggest to implement instead? 

Thanks for any feedback
M.

Reply via email to