Redis publish from a csv. No error but No data received <p>Below is my script which inserts data from a csv located on one server into Redis on another server. If it worked..</p> <p>I don't get an error but I don't show any data received on the redis side either. So Iam not sure which is worse.</p> <pre><code>#!/opt/python/bin/python import csv import redis from redis import StrictRedis reader = csv.reader(open("/opt/xyzxyz.csv")) header = reader.next() client = redis.StrictRedis(host='XXXXXXXXX.XX.XXX.X.XXX', port=6379, db=0) for row in reader: key = "xyzxyz:%s" % (row[0], ) doc = dict(zip(header, row)) client.publish(key, doc) </code></pre> <p>Any thoughts on what I am missing from the above process? Or if there is something I am not doing on the redis side?</p> <p>This is my first time working with Redis so it is kinda new to me.</p>