Which command do you use to add a value to a Redis stream named mystream?

  • ADD mystream * sensor-id 1234 temperature 19.8 1518951480106-1
  •  UPDATE mystream * sensor-id 1234 temperature 19.8 1518951480106-3
  •  XADD mystream * sensor-id 1234 temperature 9.8 1518951480106-0
  •  INSERT mystream * sensor-d 1234 temperature 19.8 15181480106-2

Leave a Reply

Your email address will not be published. Required fields are marked *