I am using Cassandra Stress Tool and trying to simulate IoT generated data.
So I created a column family with the device_id as the partition key.
But in every different operation (the parameter received in the -n option)
the generated values are the same. For instance, I have a column called
observation_time which is supposed to be the time measured by the sensor.
But in every partition the values are equal.
Is there a way to make those values be randomically generated with
different seeds? I need this way so that if the same device_id occurs
again, it makes an INSERT instead of an UPSERT.
To clarify: What is happening now (fictional data):
What I want:
ts1: 02/01/1971 #Different values here.
Thanks in advance,