Prasad, Affinity key is always a part of primary key. For example, in your case primary key consists of two fields - id and subscriptionId. Therefore you can query by primary key without providing the affinity key. On the other hand, however, query can be routed to a single node even if only affinity key is provided in select clause.
-Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
