update
This commit is contained in:
@@ -126,13 +126,6 @@ function test_mix_receive()
|
||||
json_str = JSON.json(data, 2)
|
||||
write(output_path, json_str)
|
||||
log_trace(" Saved to: $output_path")
|
||||
|
||||
# Also save as Arrow file
|
||||
output_path_arrow = "./received_$dataname.arrow"
|
||||
io = IOBuffer()
|
||||
Arrow.write(io, df)
|
||||
write(output_path_arrow, take!(io))
|
||||
log_trace(" Saved to: $output_path_arrow")
|
||||
else
|
||||
log_trace(" ERROR: Expected Vector{Dict/NamedTuple}, got $(typeof(data))")
|
||||
end
|
||||
@@ -241,7 +234,7 @@ function test_mix_receive()
|
||||
end
|
||||
|
||||
# Keep listening for 2 minutes
|
||||
sleep(120)
|
||||
sleep(180)
|
||||
NATS.drain(conn)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user