This fixes issue #1 #2
@@ -189,6 +189,11 @@ while True:
|
|||||||
print(f"no messages, trying again at {time.asctime()}")
|
print(f"no messages, trying again at {time.asctime()}")
|
||||||
break
|
break
|
||||||
|
|
||||||
|
df.to_hdf('product1.h5', key='df',mode='w')
|
||||||
|
|
||||||
|
# Open the HDF5 file in a separate window
|
||||||
|
os.startfile('product1.h5')
|
||||||
|
|
||||||
# Start receiving messages (async version)
|
# Start receiving messages (async version)
|
||||||
#flow_control = pubsub_v1.types.FlowControl(max_messages = 1)
|
#flow_control = pubsub_v1.types.FlowControl(max_messages = 1)
|
||||||
#streaming_pull_future = subscriber.subscribe(subscription_path,
|
#streaming_pull_future = subscriber.subscribe(subscription_path,
|
||||||
|
|||||||
Reference in New Issue
Block a user