You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2017/11/08 23:28:00 UTC

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

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)