Skip to content

Commit

Permalink
output record TS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 9, 2019
1 parent 3825cc8 commit 3182560
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cufacesearch/cufacesearch/ingester/kinesis_ingester.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,9 @@ def get_msg_json(self):
if self.verbose > 5:
#msg = "[{}: log] Found message at SequenceNumber {} in shard {}: {}"
#print(msg.format(self.pp, sqn, sh_id, rec_json))
msg = "[{}: log] Found message at SequenceNumber {} in shard {}"
print(msg.format(self.pp, sqn, sh_id))
rec_ts = rec['ApproximateArrivalTimestamp']
msg = "[{}: log] Found message at SequenceNumber {} and timestamp {} in shard {}"
print(msg.format(self.pp, sqn, rec_ts, sh_id))

# Store `sqn`. Is there anything else we should store?
# Maybe number of records read for sanity check
Expand Down

0 comments on commit 3182560

Please sign in to comment.