Reputation: 167
I am using cassandra 3.2.1 And now I want to ensure that data is coming from which node using any library called datastax or astyanax in Java.
Is it possible?
Upvotes: 0
Views: 193
Reputation: 8812
I want to know from which node the record is coming.For example suppose 10 records i am fetching from database and i have 6 nodes with replication factor 4. i want see each record is coming from which node.
You can't have this information on the "row" level. All you can have is which node is sending you data for which partition
To know that, activate query tracing: http://www.datastax.com/dev/blog/tracing-in-cassandra-1-2
Upvotes: 1