mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-02 09:18:49 +02:00
617c8c787d
Unified User Action (UUA) is a centralized, real-time stream of user actions on Twitter, consumed by various product, ML, and marketing teams. UUA makes sure all internal teams consume the uniformed user actions data in an accurate and fast way.
21 lines
807 B
Thrift
21 lines
807 B
Thrift
namespace java com.twitter.unified_user_actions.thriftjava
|
|
#@namespace scala com.twitter.unified_user_actions.thriftscala
|
|
#@namespace strato com.twitter.unified_user_actions
|
|
|
|
/*
|
|
* Uniquely identifies a user. A user identifier
|
|
* for a logged in user should contain a user id
|
|
* and a user identifier for a logged out user should
|
|
* contain some guest id. A user may have multiple ids.
|
|
*/
|
|
struct UserIdentifier {
|
|
1: optional i64 userId(personalDataType='UserId')
|
|
/*
|
|
* See http://go/guest-id-cookie-tdd. As of Dec 2021,
|
|
* guest id is intended only for essential use cases
|
|
* (e.g. logged out preferences, security). Guest id
|
|
* marketing is intended for recommendation use cases.
|
|
*/
|
|
2: optional i64 guestIdMarketing(personalDataType='GuestId')
|
|
}(persisted='true', hasPersonalData='true')
|