[jira] [Created] (IGNITE-6847) Add an ability to provide custom per operation context

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-6847) Add an ability to provide custom per operation context

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-6847:
-------------------------------------------

             Summary: Add an ability to provide custom per operation context
                 Key: IGNITE-6847
                 URL: https://issues.apache.org/jira/browse/IGNITE-6847
             Project: Ignite
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: general
    Affects Versions: 2.3
            Reporter: Valentin Kulichenko


Sometimes it's useful to attach custom context information to a distributed operation. For example, an application that uses Ignite cluster may want to provide its own ID or name so that it could then be used on other nodes for auditing purposes.

To support this, we can introduce {{withTag(Serializable tag)}} method on {{IgniteCache}}, {{IgniteCompute}} and other APIs. If provided, tag is attached to every remote request and propagated to log messages, events, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)