snagajot
snagajot
@phutchins I agree with the config parameter. I can only see one issue with adding the exit at line 346, which is when the batch size is less than the...
@phutchins @jatanpatel92 I went ahead and used the exit code in get_cursor_for_collection method like this - ``` def get_cursor_for_collection(mongodb, mongo_collection_name, last_id_object, batch_size) collection = mongodb.collection(mongo_collection_name) # Need to make this...
@jatanpatel92 Can you elaborate on how you run it as a service ?
@jatanpatel92 i did a little reading on running logstash as a service and it seemed a bit of an overkill for my purpose. I think the simpler solution for my...
@jatanpatel92 @phutchins so i came up with an alternative way to exit the loop gracefully, dare say hack. In a nutshell, I added a new method to get the last...
@phutchins I will give it a shot. My real challenge will be adding the config param and realigning the code to adhere to one single functionality. I am a newbie...