Apify platform should see all requests from same actor run with same client_key, unless explicitly done otherwise.
This should be migration-resistant key, meaning that it will be same key for one actor run even when actor is migrated, but it should be different for distinct aruns of same actor. Probable suitable candidate is RunID that is preserved during migration.
Locally, outside of Apify platform, just generate some random key.
The main benefit is that the flag hadMultipleClients of request queues will be more trustworthy.
It might be the root cause for
apify/crawlee-python#1131
Apify platform should see all requests from same actor run with same
client_key, unless explicitly done otherwise.This should be migration-resistant key, meaning that it will be same key for one actor run even when actor is migrated, but it should be different for distinct aruns of same actor. Probable suitable candidate is RunID that is preserved during migration.
Locally, outside of Apify platform, just generate some random key.
The main benefit is that the flag
hadMultipleClientsof request queues will be more trustworthy.It might be the root cause for
apify/crawlee-python#1131