Hello Igniters! I want to continue discussing a feature that allows users to create their own middleware for Ignite services [1]. Earlier was added the ability to implicitly pass a set of user parameters (ServiceCallContext) to the service [2]. This feature allows users to track the origin of a service call. Now I'd like to add a service call interceptor to allow the user to separate the "middleware" logic from the business code and reduce boilerplate code [3].
I've prepared an IEP for this feature, please take a look [4]. I will prepare patches for Java and .NET for this feature soon. [1] https://lists.apache.org/thread/wqlvskxr0fvdo6rbo64bnct4zz53kpr0 [2] https://issues.apache.org/jira/browse/IGNITE-15572 [3] https://issues.apache.org/jira/browse/IGNITE-17022 [4] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=191334119