Feature/upgrade kinesis lib