Skip to content

Actor should use same client_key for all ApifyRequestQueue client calls #536

@Pijukatel

Description

@Pijukatel

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions