I am reading a mongodb change stream as shown below
rows_buffer = [] with cursor as stream: for change in stream: print(change) record =